kernel_optimize_test/drivers/net/usb
Mariusz Kozlowski acb2cc8b20 [PATCH] drivers/net: remove superfluous memset
This patch covers something like this:

dev = alloc_*dev(...
...
priv = netdev_priv(dev);
memset(priv, 0, sizeof(*priv));

The memset() here is superfluous. alloc_netdev() uses kzalloc()
to allocate needed memory so there is no need to zero the priv region
twice.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-10-10 16:50:27 -07:00
..
asix.c asix.c - Add Belkin F5D5055 ids 2007-05-24 17:20:48 -04:00
catc.c [NET]: Kill eth_copy_and_sum(). 2007-07-10 22:08:12 -07:00
cdc_ether.c net/usb/cdc_ether minor sparse cleanup 2007-07-02 08:24:52 -04:00
cdc_subset.c cdc-subset to support new vendor/product ID 2007-07-16 18:29:15 -04:00
dm9601.c dm9601: Fix receive MTU 2007-10-02 12:59:10 -04:00
gl620a.c
kaweth.c [NET]: Kill eth_copy_and_sum(). 2007-07-10 22:08:12 -07:00
kawethfw.h
Kconfig net: fix typo in drivers/net/usb/Kconfig 2007-06-09 19:01:15 -04:00
Makefile
mcs7830.c
net1080.c
pegasus.c [PATCH] drivers/net: remove superfluous memset 2007-10-10 16:50:27 -07:00
pegasus.h
plusb.c
rndis_host.c
rtl8150.c [PATCH] drivers/net: remove superfluous memset 2007-10-10 16:50:27 -07:00
usbnet.c Cleanup usbnet_probe() return value handling 2007-07-10 12:41:18 -04:00
usbnet.h usbnet whitespace fixes 2007-07-08 22:16:38 -04:00
zaurus.c