Re: [PATCH] brcmsmac: main: Eliminate empty brcms_c_down_del_timer()

From: Kalle Valo
Date: Wed Sep 16 2020 - 02:05:48 EST


Jason Yan <yanaijie@xxxxxxxxxx> wrote:

> This function does nothing so remove it. This addresses the following
> coccicheck warning:
>
> drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c:5103:6-15:
> Unneeded variable: "callbacks". Return "0" on line 5105
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>

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

b86acf155c1c brcmsmac: main: Eliminate empty brcms_c_down_del_timer()

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

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