summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/core.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-02-09 12:21:17 +0100
committerKalle Valo <kvalo@qca.qualcomm.com>2017-02-14 19:57:19 +0200
commit1235a3b66cbfe4262b52137115056829c1760120 (patch)
treedacc3547f4579cbfb1aacd8b60b2234c22f44ee0 /drivers/net/wireless/ath/ath6kl/core.h
parenta532293fcba4b6b041c1a91674bc284d51280eb7 (diff)
downloadop-kernel-dev-1235a3b66cbfe4262b52137115056829c1760120.zip
op-kernel-dev-1235a3b66cbfe4262b52137115056829c1760120.tar.gz
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/core.h')
-rw-r--r--drivers/net/wireless/ath/ath6kl/core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/core.h b/drivers/net/wireless/ath/ath6kl/core.h
index ac25f17..87e99c1 100644
--- a/drivers/net/wireless/ath/ath6kl/core.h
+++ b/drivers/net/wireless/ath/ath6kl/core.h
@@ -641,7 +641,6 @@ struct ath6kl_vif {
u32 txe_intvl;
u16 bg_scan_period;
u8 assoc_bss_dtim_period;
- struct net_device_stats net_stats;
struct target_stats target_stats;
struct wmi_connect_cmd profile;
u16 rsn_capab;
OpenPOWER on IntegriCloud