summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath
diff options
context:
space:
mode:
authorSujith Manoharan2015-01-05 05:40:22 +0100
committerKalle Valo2015-01-13 15:17:01 +0100
commitc3ebfede463ca071ae42d5b5aa3b6cb89c592951 (patch)
treed138eea928f635968099f46094a25a2297437410 /drivers/net/wireless/ath
parentath10k: fix error return code (diff)
downloadkernel-qcow2-linux-c3ebfede463ca071ae42d5b5aa3b6cb89c592951.tar.gz
kernel-qcow2-linux-c3ebfede463ca071ae42d5b5aa3b6cb89c592951.tar.xz
kernel-qcow2-linux-c3ebfede463ca071ae42d5b5aa3b6cb89c592951.zip
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>
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r--drivers/net/wireless/ath/ath10k/htt.c1
-rw-r--r--drivers/net/wireless/ath/ath10k/htt.h1
2 files changed, 0 insertions, 2 deletions
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;