From: Sujith Manoharan Date: Mon, 5 Jan 2015 04:40:22 +0000 (+0530) Subject: ath10k: Remove unused htt->max_throughput_mbps X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c3ebfede463ca071ae42d5b5aa3b6cb89c592951;p=linux-beck.git ath10k: Remove unused htt->max_throughput_mbps htt->max_throughput_mbps is not used anywhere. Signed-off-by: Sujith Manoharan Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/ath10k/htt.c b/drivers/net/wireless/ath/ath10k/htt.c index 56cb4aceb383..ceec76426070 100644 --- a/drivers/net/wireless/ath/ath10k/htt.c +++ b/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 diff --git a/drivers/net/wireless/ath/ath10k/htt.h b/drivers/net/wireless/ath/ath10k/htt.h index 1bd5545af903..8809b37e1912 100644 --- a/drivers/net/wireless/ath/ath10k/htt.h +++ b/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;