[PATCH wireless v2] wifi: ath10k: Fix an error code problem in ath10k_dbg_sta_write_peer_debug_trigger()

Jeff Johnson quic_jjohnson at quicinc.com
Mon Apr 22 09:23:58 PDT 2024

On 4/21/2024 8:42 PM, Su Hui wrote:
> Clang Static Checker (scan-build) Warning:
> drivers/net/wireless/ath/ath10k/debugfs_sta.c:line 429, column 3
> Value stored to 'ret' is never read.
> Return 'ret' rather than 'count' when 'ret' stores an error code.
> By the way, remove some useless code.
> Fixes: ee8b08a1be82 ("ath10k: add debugfs support to get per peer tids log via tracing")
> Signed-off-by: Su Hui <suhui at nfschina.com>

(try that again)
Acked-by: Jeff Johnson <quic_jjohnson at quicinc.com>

More information about the ath10k mailing list