]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: rtl8723au: core: rtw_ap: Fix void function return statements style warning.
authorYeliz Taneroglu <yeliztaneroglu@gmail.com>
Thu, 9 Oct 2014 13:35:33 +0000 (16:35 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:30:12 +0000 (10:30 +0800)
The following patch fixes the checkpatch.pl warning:

drivers/staging/rtl8723au/core/rtw_ap.c WARNING: void function return statements are not generally useful

Signed-off-by: Yeliz Taneroglu <yeliztaneroglu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_ap.c

index aedbd8f77529eb43841595a91b20d800e8f933f7..75ae2492699a0b738659aa149b1b79792d874d82 100644 (file)
@@ -1216,8 +1216,6 @@ static void update_bcn_wmm_ie(struct rtw_adapter *padapter)
 static void update_bcn_wps_ie(struct rtw_adapter *padapter)
 {
        DBG_8723A("%s\n", __func__);
-
-       return;
 }
 
 static void update_bcn_p2p_ie(struct rtw_adapter *padapter)