wifi: ath11k: Remove redundant ath11k_mac_drain_tx
authorBaochen Qiang <quic_bqiang@quicinc.com>
Sat, 24 Sep 2022 13:48:18 +0000 (16:48 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 26 Sep 2022 09:40:41 +0000 (12:40 +0300)
commitd50ebec14535c4937b8b1ef2b6f7473373263a2f
tree806cf64628e561cc338492a54551c56bf3ea5f8a
parentc92f774a95c6b0070494aa9591c854c347c5da96
wifi: ath11k: Remove redundant ath11k_mac_drain_tx

ath11k_mac_drain_tx is already called in ath11k_mac_wait_tx_complete, no need to call it again. So remove it.

This is found in code review.

Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3

Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220919020259.1746-1-quic_bqiang@quicinc.com
drivers/net/wireless/ath/ath11k/wow.c