orinoco: Use net_device_stats from struct net_device
authorTobias Klauser <tklauser@distanz.ch>
Fri, 10 Feb 2017 13:03:13 +0000 (14:03 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 15 Feb 2017 09:13:04 +0000 (11:13 +0200)
commit3a6282045b228f6de6abced74b793c71178fb948
tree75b3de4af82e02f90659040bbdb7d2287c99d596
parent7546bba385b4eb746fcb2ea972abe96efb44edb8
orinoco: Use net_device_stats from struct net_device

Instead of using a private copy of struct net_device_stats in
struct orinoco_private, use stats from struct net_device. Also remove
the now unnecessary .ndo_get_stats function.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intersil/orinoco/main.c
drivers/net/wireless/intersil/orinoco/orinoco.h
drivers/net/wireless/intersil/orinoco/orinoco_usb.c