kernel_optimize_test/drivers/net/netxen
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
..
Makefile Add NetXen 1G/10G ethernet driver. 2006-12-02 00:11:58 -05:00
netxen_nic_ethtool.c [NET]: ethtool_perm_addr only has one implementation 2007-07-31 14:00:29 -07:00
netxen_nic_hdr.h netxen: fix crashes during module unload 2007-08-31 06:52:57 -04:00
netxen_nic_hw.c netxen: fix crashes during module unload 2007-08-31 06:52:57 -04:00
netxen_nic_hw.h NetXen: Port swap feature for multi port cards 2007-04-28 11:01:06 -04:00
netxen_nic_init.c RESEND [PATCH 3/3] NetXen: Graceful teardown of interface and hardware upon module unload 2007-07-02 08:24:52 -04:00
netxen_nic_isr.c NetXen: Fix link status messages 2007-06-12 18:58:58 -04:00
netxen_nic_main.c [PATCH] drivers/net: remove superfluous memset 2007-10-10 16:50:27 -07:00
netxen_nic_niu.c drivers/net: fix comparisons of unsigned < 0 2007-07-08 22:16:39 -04:00
netxen_nic_phan_reg.h RESEND [PATCH 2/3] NetXen: Support per PCI-function interrupt mask registers 2007-07-02 08:24:52 -04:00
netxen_nic.h [NET]: Make NAPI polling independent of struct net_device objects. 2007-10-10 16:47:45 -07:00