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

Bastien Nocera hadess at hadess.net
Fri Jun 7 06:41:14 UTC 2019


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 at gmail.com>

Looks good, thanks.

Reviewed-by: Bastien Nocera <hadess at hadess.net>



More information about the devel mailing list