linux/drivers/net/can/usb
Joe Perches 14f8dc4953 drivers: net: Remove remaining alloc/OOM messages
alloc failures already get standardized OOM
messages and a dump_stack.

For the affected mallocs around these OOM messages:

Converted kmallocs with multiplies to kmalloc_array.
Converted a kmalloc/memcpy to kmemdup.
Removed now unused stack variables.
Removed unnecessary parentheses.
Neatened alignment.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Arend van Spriel <arend@broadcom.com>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Acked-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-02-08 17:44:39 -05:00
..
peak_usb can: Remove unnecessary alloc/OOM messages 2013-02-04 13:22:33 -05:00
Kconfig can: usb_8dev: Add support for USB2CAN interface from 8 devices 2013-01-26 16:58:58 +01:00
Makefile can: usb_8dev: Add support for USB2CAN interface from 8 devices 2013-01-26 16:58:58 +01:00
ems_usb.c drivers: net: Remove remaining alloc/OOM messages 2013-02-08 17:44:39 -05:00
esd_usb2.c can: esd_usb2: remove obsolete variable open_time 2012-11-29 14:34:05 +01:00
kvaser_usb.c can: Remove unnecessary alloc/OOM messages 2013-02-04 13:22:33 -05:00
usb_8dev.c can: Remove unnecessary alloc/OOM messages 2013-02-04 13:22:33 -05:00