Re: [PATCH] staging: rtl8723bs: Fix Unneeded variable: "ret". Return "0"

From: Bastien Nocera
Date: Fri Jun 07 2019 - 02:45:31 EST


On Thu, 2019-06-06 at 20:10 -0700, Shobhit Kukreti wrote:
> coccicheck reported Unneeded variable ret at
> rtl8723bs/core/rtw_ap.c:1400.
> Function "rtw_acl_remove_sta" always returns 0. Modified return type
> of the
> function to void.
>
> Signed-off-by: Shobhit Kukreti <shobhitkukreti@xxxxxxxxx>

Looks good, thanks.

Reviewed-by: Bastien Nocera <hadess@xxxxxxxxxx>