linux/drivers/net/fs_enet
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
..
Kconfig Use menuconfig objects II - netdev (general+100mbit) 2007-07-08 22:16:40 -04:00
Makefile [PATCH] FS_ENET: use PAL for mii management 2006-08-19 17:44:31 -04:00
fec.h [PATCH] FS_ENET: use PAL for mii management 2006-08-19 17:44:31 -04:00
fs_enet-main.c [PATCH] drivers/net: remove superfluous memset 2007-10-10 16:50:27 -07:00
fs_enet.h [NET]: Make NAPI polling independent of struct net_device objects. 2007-10-10 16:47:45 -07:00
mac-fcc.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
mac-fec.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
mac-scc.c [POWERPC] Change rheap functions to use ulongs instead of pointers 2007-05-09 23:01:43 -05:00
mii-bitbang.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
mii-fec.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00