]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6f6388be8be376397b09c622c98ba6a7aeead808
tree4d40f6bf70923b23fc4712a6baaaeb6a3ebae297
parent51023b89b6a3715e0a392de3a16eb0469628a99d
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