Re: [PATCH] brcmsmac: make brcms_c_set_mac() void
From: Kalle Valo
Date: Tue Apr 14 2020 - 11:10:43 EST
Jason Yan <yanaijie@xxxxxxxxxx> wrote:
> Fix the following coccicheck warning:
>
> drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c:3773:5-8:
> Unneeded variable: "err". Return "0" on line 3781
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>
> Acked-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
Patch applied to wireless-drivers-next.git, thanks.
fd7fb0253cdf brcmsmac: make brcms_c_set_mac() void
--
https://patchwork.kernel.org/patch/11483033/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches