OSDN Git Service

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 56cb4ac..ceec764 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 1bd5545..8809b37 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;