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

From: Arend Van Spriel
Date: Fri Apr 10 2020 - 05:12:05 EST


On 4/10/2020 11:08 AM, Jason Yan 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

Acked-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>
---
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)