summaryrefslogtreecommitdiffstats
path: root/drivers/net/wimax/i2400m/usb-notif.c
diff options
context:
space:
mode:
authorJoe Perches2013-02-03 18:28:13 +0100
committerDavid S. Miller2013-02-04 19:22:34 +0100
commit9d11bd1592fba0b9231d3ce8ab61977db7e03e27 (patch)
tree5923f99b467325eb51e23d025b5d0e1e36fcb237 /drivers/net/wimax/i2400m/usb-notif.c
parentwan: Remove unnecessary alloc/OOM messages (diff)
downloadkernel-qcow2-linux-9d11bd1592fba0b9231d3ce8ab61977db7e03e27.tar.gz
kernel-qcow2-linux-9d11bd1592fba0b9231d3ce8ab61977db7e03e27.tar.xz
kernel-qcow2-linux-9d11bd1592fba0b9231d3ce8ab61977db7e03e27.zip
wimax: Remove unnecessary alloc/OOM messages, alloc cleanups
alloc failures already get standardized OOM messages and a dump_stack. Convert kzalloc's with multiplies to kcalloc. Remove now unused size variables. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wimax/i2400m/usb-notif.c')
-rw-r--r--drivers/net/wimax/i2400m/usb-notif.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wimax/i2400m/usb-notif.c b/drivers/net/wimax/i2400m/usb-notif.c
index d44b545f4082..fc1355d98bc6 100644
--- a/drivers/net/wimax/i2400m/usb-notif.c
+++ b/drivers/net/wimax/i2400m/usb-notif.c
@@ -199,7 +199,6 @@ int i2400mu_notification_setup(struct i2400mu *i2400mu)
d_fnstart(4, dev, "(i2400m %p)\n", i2400mu);
buf = kmalloc(I2400MU_MAX_NOTIFICATION_LEN, GFP_KERNEL | GFP_DMA);
if (buf == NULL) {
- dev_err(dev, "notification: buffer allocation failed\n");
ret = -ENOMEM;
goto error_buf_alloc;
}