staging: vt6655: Use net_device_stats from struct net_device
authorTobias Klauser <tklauser@distanz.ch>
Wed, 10 Sep 2014 07:34:50 +0000 (09:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Sep 2014 21:59:18 +0000 (14:59 -0700)
commit22981e0e5ab3aedfb46698ed7c12c7b944781bd3
tree4d40f6bf70923b23fc4712a6baaaeb6a3ebae297
parent46ef6886ac5324058898a4e84cad029f06de8b18
staging: vt6655: Use net_device_stats from struct net_device

Instead of using an own copy of struct net_device_stats in struct
vnt_private, use stats from struct net_device. Also remove the thus
unnecessary device_get_stats(), as it would now just return
netdev->stats, which is the default in dev_get_stats().

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/device.h
drivers/staging/vt6655/device_main.c
drivers/staging/vt6655/dpc.c