Re: [PATCH linux-next] wifi: cfg80211: remove redundant ret variable
From: Kalle Valo
Date: Mon Aug 29 2022 - 12:13:11 EST
cgel.zte@xxxxxxxxx writes:
> 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>
> ---
> drivers/net/wireless/microchip/wilc1000/cfg80211.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
The title should be:
wifi: wilc1000: remove redundant ret variable
Please read our documentation:
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches#commit_title_is_wrong
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches