aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/acenic.h
diff options
context:
space:
mode:
authorPaulius Zaleckas <paulius.zaleckas@teltonika.lt>2008-04-30 02:03:55 +0300
committerJeff Garzik <jgarzik@redhat.com>2008-05-13 01:35:24 -0400
commit966e37bca6a84299e0c3ed13e741db9c6e0b0f92 (patch)
tree1e583a2a9945be057eca1540bd4714ec90e10c1e /drivers/net/acenic.h
parent6pack: use netstats in net_device structure (diff)
downloadlinux-dev-966e37bca6a84299e0c3ed13e741db9c6e0b0f92.tar.xz
linux-dev-966e37bca6a84299e0c3ed13e741db9c6e0b0f92.zip
acenic: use netstats in net_device structure
Use net_device_stats from net_device structure instead of local. No need to memset it to 0, because it is allocated by kzalloc. Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/acenic.h')
-rw-r--r--drivers/net/acenic.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/acenic.h b/drivers/net/acenic.h
index 60ed1837fa8f..4487f32759a4 100644
--- a/drivers/net/acenic.h
+++ b/drivers/net/acenic.h
@@ -693,7 +693,6 @@ struct ace_private
__attribute__ ((aligned (SMP_CACHE_BYTES)));
u32 last_tx, last_std_rx, last_mini_rx;
#endif
- struct net_device_stats stats;
int pci_using_dac;
};