Skip to contentSkip to conversation

ath10k: Remove unused variable

PATCH Applied Sujith Manoharan 2 participants 2 messages Jan 5, 2015 – Jan 13, 2015 Qualcomm Atheros ATH10K wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath10k: Remove unused variable

From: Sujith Manoharan <[email protected]>

htt->max_throughput_mbps is not used anywhere.

---
 drivers/net/wireless/ath/ath10k/htt.c | 1 -
 drivers/net/wireless/ath/ath10k/htt.h | 1 -
 2 files changed, 2 deletions(-)
drivers/net/wireless/ath/ath10k/htt.c +0 -1
index 56cb4ac..ceec764 100644
@@ -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
drivers/net/wireless/ath/ath10k/htt.h +0 -1
index 1aa5db1..1d2a8c5 100644
@@ -1184,7 +1184,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;
Signature · 1 line
2.2.1
Applied
#1 lore raw
Quoted 5 lines · Sujith Manoharan

From: Sujith Manoharan <[email protected]>

htt->max_throughput_mbps is not used anywhere.

Thanks, applied to ath.git. I just renamed the title to:

c3ebfede463c ath10k: Remove unused htt->max_throughput_mbps

Signature · 1 line
Kalle Valo