Staging: rtl8723au: Remove return in void function
authorMelike Yurtoglu <aysemelikeyurtoglu@gmail.com>
Wed, 25 Feb 2015 21:26:21 +0000 (23:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Feb 2015 21:03:11 +0000 (13:03 -0800)
WARNING: void function return statements are not generally useful
Remove return in void function. That was found by running checkpatch.

Signed-off-by: Melike Yurtoglu <aysemelikeyurtoglu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/hal_com.c

index bf4cae20bd1273cb6673818f47af586dea685774..a7751c9aecadd56493dbeb6ea7c2b084917e5ec8 100644 (file)
@@ -236,8 +236,6 @@ void HalSetBrateCfg23a(struct rtw_adapter *padapter, u8 *mBratesOS)
        }
                /*  Ziv - Check */
        rtl8723au_write8(padapter, REG_INIRTS_RATE_SEL, rate_index);
-
-       return;
 }
 
 static void _OneOutPipeMapping(struct rtw_adapter *pAdapter)