ath10k: Remove unused htt->max_throughput_mbps
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Mon, 5 Jan 2015 04:40:22 +0000 (10:10 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 13 Jan 2015 14:17:01 +0000 (16:17 +0200)
htt->max_throughput_mbps is not used anywhere.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt.c
drivers/net/wireless/ath/ath10k/htt.h

index 56cb4aceb38312315c54de41e8cde657df70cbb2..ceec76426070c8942d516a7f3d52f73939b1faae 100644 (file)
@@ -53,7 +53,6 @@ int ath10k_htt_init(struct ath10k *ar)
        struct ath10k_htt *htt = &ar->htt;
 
        htt->ar = ar;
-       htt->max_throughput_mbps = 800;
 
        /*
         * Prefetch enough data to satisfy target
index 1bd5545af903975fcc5651628b46c3a989f25678..8809b37e1912551ad5c946309b3f91f732b22655 100644 (file)
@@ -1182,7 +1182,6 @@ struct ath10k_htt {
        struct ath10k *ar;
        enum ath10k_htc_ep_id eid;
 
-       int max_throughput_mbps;
        u8 target_version_major;
        u8 target_version_minor;
        struct completion target_version_received;