summaryrefslogtreecommitdiffstats
path: root/drivers/firewire/core-device.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2013-03-24 17:32:00 +0100
committerStefan Richter <stefanr@s5r6.in-berlin.de>2013-04-28 23:36:44 +0200
commitcfb0c9d1ffbf930a4a852f178b161c522b21b0ab (patch)
tree0cc4283c327d75fd571b34d958188a9106d79a87 /drivers/firewire/core-device.c
parentd6c8cefc69a0b1e75b369613f902141f2c621914 (diff)
downloadop-kernel-dev-cfb0c9d1ffbf930a4a852f178b161c522b21b0ab.zip
op-kernel-dev-cfb0c9d1ffbf930a4a852f178b161c522b21b0ab.tar.gz
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>
Diffstat (limited to 'drivers/firewire/core-device.c')
-rw-r--r--drivers/firewire/core-device.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/firewire/core-device.c b/drivers/firewire/core-device.c
index 03ce7d9..664a6ff 100644
--- a/drivers/firewire/core-device.c
+++ b/drivers/firewire/core-device.c
@@ -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;
OpenPOWER on IntegriCloud