summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath10k/htc.h
diff options
context:
space:
mode:
authorErik Stromdahl <erik.stromdahl@gmail.com>2017-01-11 16:32:10 +0200
committerKalle Valo <kvalo@qca.qualcomm.com>2017-01-12 12:51:29 +0200
commitd48b62ceeea2c229c637efda0c1a846dd33cf26a (patch)
tree1f77f66b8aedf4d90230cdc7a853737df44941b3 /drivers/net/wireless/ath/ath10k/htc.h
parent7bc7441e4da3868042d01eed8a1f61625d35a356 (diff)
ath10k: htc: simplified credit distribution
Simplified transmit credit distribution code somewhat. Since the WMI control service will get assigned all credits there is no need for having a credit_allocation array in struct ath10k_htc. Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/htc.h')
-rw-r--r--drivers/net/wireless/ath/ath10k/htc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/htc.h b/drivers/net/wireless/ath/ath10k/htc.h
index ca150c91f181..6ababa345e2b 100644
--- a/drivers/net/wireless/ath/ath10k/htc.h
+++ b/drivers/net/wireless/ath/ath10k/htc.h
@@ -337,7 +337,6 @@ struct ath10k_htc {
struct completion ctl_resp;
int total_transmit_credits;
- struct ath10k_htc_svc_tx_credits service_tx_alloc[ATH10K_HTC_EP_COUNT];
int target_credit_size;
};