OSDN Git Service

mv643xx_eth: kill private unused instance of struct net_device_stats
authorLennert Buytenhek <buytenh@wantstofly.org>
Sun, 1 Jun 2008 09:40:29 +0000 (11:40 +0200)
committerLennert Buytenhek <buytenh@wantstofly.org>
Thu, 12 Jun 2008 06:40:33 +0000 (08:40 +0200)
commit16820054773027a9be2e2b5e33eb2015d32deeaf
tree7313ee5d54b1db5b33f57e9b50746f7d3481080b
parent03ae1aac4af54b52ac501e507d75d8f37634b32e
mv643xx_eth: kill private unused instance of struct net_device_stats

The per-port mv643xx_eth_private struct had a private instance
of struct net_device_stats that was never ever written to, only
read (via the ethtool statistics interface).  This patch gets
rid of the private instance, and tweaks the ethtool statistics
code in mv643xx_eth to use the statistics in struct net_device
instead.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Acked-by: Dale Farnsworth <dale@farnsworth.org>
drivers/net/mv643xx_eth.c