[PATCH v3] staging: rtl8723bs: core: rtw_ap: fix Unneeded variable: "ret". Return "0

Greg Kroah-Hartman gregkh at linuxfoundation.org
Thu May 23 07:24:19 UTC 2019


On Wed, May 22, 2019 at 10:41:37PM +0530, Hariprasad Kelam wrote:
> Function "rtw_sta_flush" always returns 0 value.
> So change return type of rtw_sta_flush from int to void.
> 
> Same thing applies for rtw_hostapd_sta_flush
> 
> Signed-off-by: Hariprasad Kelam <hariprasad.kelam at gmail.com>
> ------
>  Changes v2 -
>        change return type of rtw_sta_flush
> ------
>  Changes v3 -
>        fix indentaion issue

This patch does not apply to my tree.  Please refresh it against the
staging-next branch and resend.

thanks,

greg k-h


More information about the devel mailing list