Re: [PATCH linux-next] wifi: cfg80211: remove redundant ret variable
From: Ammar Faizi
Date: Mon Aug 29 2022 - 08:48:58 EST
On Mon, Aug 29, 2022 at 6:35 PM <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>
Reviewed-by: Ammar Faizi <ammarfaizi2@xxxxxxxxxxx>