linux/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 Move USB network drivers to drivers/net/usb. 2007-05-09 21:31:55 -04:00
kaweth.c [NET]: Kill eth_copy_and_sum(). 2007-07-10 22:08:12 -07:00
kawethfw.h Move USB network drivers to drivers/net/usb. 2007-05-09 21:31:55 -04:00
Kconfig net: fix typo in drivers/net/usb/Kconfig 2007-06-09 19:01:15 -04:00
Makefile Move USB network drivers to drivers/net/usb. 2007-05-09 21:31:55 -04:00
mcs7830.c Move USB network drivers to drivers/net/usb. 2007-05-09 21:31:55 -04:00
net1080.c Move USB network drivers to drivers/net/usb. 2007-05-09 21:31:55 -04:00
pegasus.c [PATCH] drivers/net: remove superfluous memset 2007-10-10 16:50:27 -07:00
pegasus.h Move USB network drivers to drivers/net/usb. 2007-05-09 21:31:55 -04:00
plusb.c Move USB network drivers to drivers/net/usb. 2007-05-09 21:31:55 -04:00
rndis_host.c USB: handle more rndis_host oddities 2007-05-22 23:45:48 -07:00
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 Move USB network drivers to drivers/net/usb. 2007-05-09 21:31:55 -04:00