Browse Source

ath10k: Remove unused htt->max_throughput_mbps

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>
Sujith Manoharan 10 years ago
parent
commit
c3ebfede46
2 changed files with 0 additions and 2 deletions
  1. 0 1
      drivers/net/wireless/ath/ath10k/htt.c
  2. 0 1
      drivers/net/wireless/ath/ath10k/htt.h

+ 0 - 1
drivers/net/wireless/ath/ath10k/htt.c

@@ -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

+ 0 - 1
drivers/net/wireless/ath/ath10k/htt.h

@@ -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;