ath11k: remove usage quota while processing rx packets
authorP Praneesh <ppranees@codeaurora.org>
Fri, 12 Nov 2021 09:02:24 +0000 (11:02 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 15 Nov 2021 09:21:52 +0000 (11:21 +0200)
commitdb2ecf9f0567a8f1a96f23a392cc5a30eaec4369
treeeaee0fc001829f1c5f5461b41955a96d2623cddd
parentc4d12cb37ea2e6c2b70880350d7bf1bbbd825c6c
ath11k: remove usage quota while processing rx packets

The usage of quota variable inside ath11k_dp_rx_process_received_packets()
is redundant. Since we would queue only max packets to the list before
calling this function so it would never exceed quota. Hence removing
usage of quota variable.

Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.4.0.1.r2-00012-QCAHKSWPL_SILICONZ-1
Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.4.0.1-01695-QCAHKSWPL_SILICONZ-1

Co-developed-by: Sriram R <srirrama@codeaurora.org>
Signed-off-by: Sriram R <srirrama@codeaurora.org>
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Signed-off-by: P Praneesh <ppranees@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1630560820-21905-7-git-send-email-ppranees@codeaurora.org
drivers/net/wireless/ath/ath11k/dp_rx.c