staging: rtl8188eu: core: rtw_mlme: Remove return statement from void function
authorGeorgiana Rodica Chelu <georgiana.chelu93@gmail.com>
Sat, 24 Sep 2016 20:35:20 +0000 (23:35 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Sep 2016 10:42:35 +0000 (12:42 +0200)
Remove the return statement from the end of a void function
to clean up the code.

Issue found by checkpatch.pl script.

Signed-off-by: Georgiana Rodica Chelu <georgiana.chelu93@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_mlme.c

index 249568c5b060cb74a363d146fd43c056767b3d07..ee2dcd05010f6f07c9ff0e6f8648763bfd09dc00 100644 (file)
@@ -259,7 +259,6 @@ void rtw_generate_random_ibss(u8 *pibss)
        pibss[3] = (u8)(curtime & 0xff);/* p[0]; */
        pibss[4] = (u8)((curtime>>8) & 0xff);/* p[1]; */
        pibss[5] = (u8)((curtime>>16) & 0xff);/* p[2]; */
-       return;
 }
 
 u8 *rtw_get_capability_from_ie(u8 *ie)
@@ -557,7 +556,6 @@ static int rtw_is_desired_network(struct adapter *adapter, struct wlan_network *
 void rtw_atimdone_event_callback(struct adapter *adapter, u8 *pbuf)
 {
        RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("receive atimdone_evet\n"));
-       return;
 }