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)
commitba0f6caeb5d9cf6fbb99f84ff0f2731f04996595
tree8e5698c4dc5dc19057a3117ee6d25d0f653c673f
parentdd32f7effdd2f3f348ef91ca1649d78a0ab2b103
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