diff options
author | Paulius Zaleckas <paulius.zaleckas@teltonika.lt> | 2008-04-29 19:03:55 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-05-13 01:35:24 -0400 |
commit | 966e37bca6a84299e0c3ed13e741db9c6e0b0f92 (patch) | |
tree | 1e583a2a9945be057eca1540bd4714ec90e10c1e /drivers/net/acenic.h | |
parent | de0561c43550f78cd837a24179f1859817f24578 (diff) |
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.h | 1 |
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 | |||
693 | __attribute__ ((aligned (SMP_CACHE_BYTES))); | 693 | __attribute__ ((aligned (SMP_CACHE_BYTES))); |
694 | u32 last_tx, last_std_rx, last_mini_rx; | 694 | u32 last_tx, last_std_rx, last_mini_rx; |
695 | #endif | 695 | #endif |
696 | struct net_device_stats stats; | ||
697 | int pci_using_dac; | 696 | int pci_using_dac; |
698 | }; | 697 | }; |
699 | 698 | ||