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:
Stefan Richter
2013-03-24 17:32:00 +01:00
parent d6c8cefc69
commit cfb0c9d1ff
5 changed files with 12 additions and 30 deletions

View File

@@ -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;