OSDN Git Service

ath6kl: Use net_device_stats from struct net_device
authorTobias Klauser <tklauser@distanz.ch>
Thu, 9 Feb 2017 11:21:17 +0000 (12:21 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 14 Feb 2017 17:57:19 +0000 (19:57 +0200)
commit1235a3b66cbfe4262b52137115056829c1760120
treedacc3547f4579cbfb1aacd8b60b2234c22f44ee0
parenta532293fcba4b6b041c1a91674bc284d51280eb7
ath6kl: Use net_device_stats from struct net_device

Instead of using a private copy of struct net_device_stats in struct
ath6kl_vif, 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@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/core.h
drivers/net/wireless/ath/ath6kl/main.c
drivers/net/wireless/ath/ath6kl/txrx.c