wifi: ath12k: remove redundant memset() in ath12k_hal_reo_qdesc_setup()
authorDmitry Antipov <dmantipov@yandex.ru>
Mon, 9 Oct 2023 07:13:53 +0000 (10:13 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Tue, 10 Oct 2023 07:21:43 +0000 (10:21 +0300)
commit258242dac92450dfbdcefca0005af1e9df30018f
tree82cca47dc0000349f95f193272b26b9800d5592b
parent71ffa1bcd7a0b8331c32a81ce90290daaf17fce2
wifi: ath12k: remove redundant memset() in ath12k_hal_reo_qdesc_setup()

Since 'ath12k_dp_rx_peer_tid_setup()' is the only place where
'struct hal_rx_reo_queue' object is allocated with 'kzalloc()',
call to 'memset()' in 'ath12k_hal_reo_qdesc_setup()' may be
dropped. Compile tested only.

Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20231002182856.131254-1-dmantipov@yandex.ru
drivers/net/wireless/ath/ath12k/hal_rx.c