staging: rtl8723au: core: rtw_wlan_util: Fix void function return statements style...
authorYeliz Taneroglu <yeliztaneroglu@gmail.com>
Thu, 9 Oct 2014 13:35:31 +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_wlan_util.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_wlan_util.c

index c0b0047..0126a3f 100644 (file)
@@ -608,8 +608,6 @@ void WMMOnAssocRsp23a(struct rtw_adapter *padapter)
                DBG_8723A("wmm_para_seq(%d): %d\n", i,
                          pxmitpriv->wmm_para_seq[i]);
        }
-
-       return;
 }
 
 static void bwmode_update_check(struct rtw_adapter *padapter, const u8 *p)
@@ -750,7 +748,6 @@ void HT_caps_handler23a(struct rtw_adapter *padapter, const u8 *p)
                else
                        cap->mcs.rx_mask[i] &= MCS_rate_2R23A[i];
        }
-       return;
 }
 
 void HT_info_handler23a(struct rtw_adapter *padapter, const u8 *p)
@@ -771,7 +768,6 @@ void HT_info_handler23a(struct rtw_adapter *padapter, const u8 *p)
 
        pmlmeinfo->HT_info_enable = 1;
        memcpy(&pmlmeinfo->HT_info, p + 2, p[1]);
-       return;
 }
 
 void HTOnAssocRsp23a(struct rtw_adapter *padapter)