Re: [PATCH v2 linux-next] wifi: wilc1000: remove redundant ret variable

From: Kalle Valo
Date: Fri Sep 02 2022 - 04:47:26 EST


cgel.zte@xxxxxxxxx wrote:

> From: Jinpeng Cui <cui.jinpeng2@xxxxxxxxxx>
>
> Return value from cfg80211_rx_mgmt() directly instead of
> taking this in another redundant variable.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: Jinpeng Cui <cui.jinpeng2@xxxxxxxxxx>

Patch applied to wireless-next.git, thanks.

1dc13236ef91 wifi: wilc1000: remove redundant ret variable

--
https://patchwork.kernel.org/project/linux-wireless/patch/20220830105505.287564-1-cui.jinpeng2@xxxxxxxxxx/

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