Re: [PATCH] brcmsmac: make brcms_c_stf_ss_update() void

From: Kalle Valo
Date: Wed Apr 15 2020 - 04:48:37 EST


Jason Yan <yanaijie@xxxxxxxxxx> wrote:

> Fix the following coccicheck warning:
>
> drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c:309:5-13:
> Unneeded variable: "ret_code". Return "0" on line 328
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

e871b8bfedda brcmsmac: make brcms_c_stf_ss_update() void

--
https://patchwork.kernel.org/patch/11485249/

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