[PATCH] wifi: ath12k: drop NULL pointer check in ath12k_update_per_peer_tx_stats()
Jeff Johnson
quic_jjohnson at quicinc.com
Wed Oct 25 08:57:09 PDT 2023
On 10/25/2023 2:56 AM, Kalle Valo wrote:
> 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?
>
look correct,
Acked-by: Jeff Johnson <quic_jjohnson at quicinc.com>
More information about the ath12k
mailing list