net: sunhme: Use net_device_stats from struct net_device
authorTobias Klauser <tklauser@distanz.ch>
Fri, 7 Apr 2017 08:17:35 +0000 (10:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Apr 2017 14:03:33 +0000 (07:03 -0700)
commite807bcc7b98b1f9f293c2b587de1c36f258b12bf
treef6913c64a48850dff66c60a498cbcdc9d24be4bc
parent0ffa9373a06c65e32a05d35656b2260857d1e5ce
net: sunhme: Use net_device_stats from struct net_device

Instead of using a private copy of struct net_device_stats in struct
happy_meal, use stats from struct net_device.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sunhme.c
drivers/net/ethernet/sun/sunhme.h