]> git.baikalelectronics.ru Git - kernel.git/commit
3c505: use netstats in net_device structure
authorPaulius Zaleckas <paulius.zaleckas@teltonika.lt>
Mon, 28 Apr 2008 23:27:37 +0000 (02:27 +0300)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 29 Apr 2008 05:55:11 +0000 (01:55 -0400)
commitb2b710d3295df735c9136eea0b4733b0f3d65008
tree8e5698c4dc5dc19057a3117ee6d25d0f653c673f
parent5e38b5f0ada29ef9640d96b8a2f257db999812b1
3c505: 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/3c505.c
drivers/net/3c505.h