[PATCH ath-next] wifi: ath12k: remove skb->data check in ath12k_wmi_process_tpc_stats()
Baochen Qiang
baochen.qiang at oss.qualcomm.com
Wed Jul 29 18:50:03 PDT 2026
On 7/29/2026 9:15 AM, Jeff Johnson wrote:
> Currently, ath12k_wmi_process_tpc_stats() has a !skb->data check. This
> check is pointless since skb->data is accessed by ath12k_wmi_op_rx() in
> order to dispatch the message to this function, therefore it is always
> non-NULL.
>
> Remove the pointless check and its associated warning message.
>
> Compile tested only.
>
> Assisted-by: Claude:claude-sonnet-4-6
> Signed-off-by: Jeff Johnson <jeff.johnson at oss.qualcomm.com>
Reviewed-by: Baochen Qiang <baochen.qiang at oss.qualcomm.com>
More information about the ath12k
mailing list