]> git.baikalelectronics.ru Git - kernel.git/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)
commit95a3e86ea7e34fd21e6ff7fac7b048961cf60574
tree1e583a2a9945be057eca1540bd4714ec90e10c1e
parent46b28bcb6c5b5ddbaaf94d95a3bfbd8047a2f5da
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