Re: [PATCH linux-next] wifi: cfg80211: remove redundant err variable

From: Kalle Valo
Date: Mon Aug 29 2022 - 12:14:02 EST


cgel.zte@xxxxxxxxx writes:

> From: Jinpeng Cui <cui.jinpeng2@xxxxxxxxxx>
>
> Return value from brcmf_fil_iovar_data_set() and
> brcmf_config_ap_mgmt_ie() directly instead of
> taking this in another redundant variable.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: Jinpeng Cui <cui.jinpeng2@xxxxxxxxxx>
> ---
> .../wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 10 ++--------
> 1 file changed, 2 insertions(+), 8 deletions(-)

The title should be:

wifi: brcmfmac: remove redundant err 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