]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit45aa6327259c37092e124ef424da8c1843dc4688
treedacc3547f4579cbfb1aacd8b60b2234c22f44ee0
parent015929d6d235d601406bb86c9d6dc0b24d8c5500
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