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

From: Jeff Johnson
Date: Wed Oct 25 2023 - 11:57:31 EST


On 10/25/2023 2:56 AM, Kalle Valo wrote:
Ma Ke <make_ruc2021@xxxxxxx> 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@xxxxxxx>
Signed-off-by: Kalle Valo <quic_kvalo@xxxxxxxxxxx>

Jeff, what do you think?

look correct,
Acked-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>