diff options
author | Erik Stromdahl <erik.stromdahl@gmail.com> | 2017-01-11 17:32:10 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2017-01-12 13:51:29 +0300 |
commit | d48b62ceeea2c229c637efda0c1a846dd33cf26a (patch) | |
tree | 1f77f66b8aedf4d90230cdc7a853737df44941b3 /drivers/net/wireless/ath/ath10k/htc.h | |
parent | 7bc7441e4da3868042d01eed8a1f61625d35a356 (diff) | |
download | linux-d48b62ceeea2c229c637efda0c1a846dd33cf26a.tar.xz |
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.h | 1 |
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; }; |