]> err.no Git - linux-2.6/commit
acenic: use netstats in net_device structure
authorPaulius Zaleckas <paulius.zaleckas@teltonika.lt>
Tue, 29 Apr 2008 23:03:55 +0000 (02:03 +0300)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 13 May 2008 05:35:24 +0000 (01:35 -0400)
commit966e37bca6a84299e0c3ed13e741db9c6e0b0f92
tree1e583a2a9945be057eca1540bd4714ec90e10c1e
parentde0561c43550f78cd837a24179f1859817f24578
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>
drivers/net/acenic.c
drivers/net/acenic.h