wifi: ath11k: drop NULL pointer check in ath11k_update_per_peer_tx_stats()
authorDmitry Antipov <dmantipov@yandex.ru>
Wed, 6 Sep 2023 09:36:55 +0000 (12:36 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Thu, 21 Sep 2023 08:13:16 +0000 (11:13 +0300)
commitac13a7842ab46a87aa315514d6d7e19b03cb2adc
treed8945cb374c88cb6bd8770aec06e7be53f056bce
parent39564b475ac5a589e6c22c43a08cbd283c295d2c
wifi: ath11k: drop NULL pointer check in ath11k_update_per_peer_tx_stats()

Since 'user_stats' is a fixed-size array of 'struct htt_ppdu_user_stats'
in 'struct htt_ppdu_stats', any of its member can't be NULL and so
relevant check may be dropped.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230906093704.14001-1-dmantipov@yandex.ru
drivers/net/wireless/ath/ath11k/dp_rx.c