[PATCH] wifi: ath12k: drop NULL pointer check in ath12k_update_per_peer_tx_stats()

Kalle Valo kvalo at kernel.org
Wed Oct 25 02:56:25 PDT 2023


Ma Ke <make_ruc2021 at 163.com> wrote:

> 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 at 163.com>
> Signed-off-by: Kalle Valo <quic_kvalo at quicinc.com>

Jeff, what do you think?

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20231013074711.2202850-1-make_ruc2021@163.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




More information about the ath12k mailing list