firewire: remove unnecessary alloc/OOM messages
These are redundant to log messages from the mm core. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
This commit is contained in:
@@ -692,10 +692,8 @@ static void create_units(struct fw_device *device)
|
||||
* match the drivers id_tables against it.
|
||||
*/
|
||||
unit = kzalloc(sizeof(*unit), GFP_KERNEL);
|
||||
if (unit == NULL) {
|
||||
fw_err(device->card, "out of memory for unit\n");
|
||||
if (unit == NULL)
|
||||
continue;
|
||||
}
|
||||
|
||||
unit->directory = ci.p + value - 1;
|
||||
unit->device.bus = &fw_bus_type;
|
||||
|
Reference in New Issue
Block a user