Re: [PATCH] wireless/ath/ath9k: remove redundant status variable

From: Kalle Valo
Date: Mon Jan 17 2022 - 07:43:16 EST


cgel.zte@xxxxxxxxx wrote:

> Return value directly instead of taking this in another redundant
> variable.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: Minghao Chi <chi.minghao@xxxxxxxxxx>
> Signed-off-by: CGEL ZTE <cgel.zte@xxxxxxxxx>
> Signed-off-by: Kalle Valo <quic_kvalo@xxxxxxxxxxx>

Patch applied to ath-next branch of ath.git, thanks.

76d7b996aab8 ath9k: remove redundant status variable

--
https://patchwork.kernel.org/project/linux-wireless/patch/20220112080751.667316-1-chi.minghao@xxxxxxxxxx/

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