wifi: ath12k: drop NULL pointer check in ath12k_update_per_peer_tx_stats()
authorMa Ke <make_ruc2021@163.com>
Wed, 25 Oct 2023 17:47:56 +0000 (20:47 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Tue, 31 Oct 2023 07:45:12 +0000 (09:45 +0200)
commit56d9854bd7c6b29a65fbb4175e01196166ed61de
treebd8d33aabdb03b012ce6d7eb7d515fc2c47f4211
parent1002f8171d966f73e3d97b05fc0178e115fb5dca
wifi: ath12k: drop NULL pointer check in ath12k_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.

Signed-off-by: Ma Ke <make_ruc2021@163.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20231013074711.2202850-1-make_ruc2021@163.com
drivers/net/wireless/ath/ath12k/dp_rx.c