]> git.karo-electronics.de Git - mv-sheeva.git/commit
ep93xx_eth: Use net_device_stats from struct net_device
authorTobias Klauser <tklauser@distanz.ch>
Wed, 18 Aug 2010 22:10:34 +0000 (22:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Aug 2010 00:19:04 +0000 (17:19 -0700)
commit5dbfbc4027f819c3da92844f34f241524f99c9eb
tree5db91705b1c2b4e5d536afb1355c4159ee79351d
parentb9959c2e4460b1df1d113d829180398588bb04b4
ep93xx_eth: Use net_device_stats from struct net_device

struct net_device has its own struct net_device_stats member, so use
this one instead of a private copy in the ep93xx_priv struct. As the new
ndo_get_stats function would just return dev->stats we can omit it.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/arm/ep93xx_eth.c