summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu/core/rtw_wlan_util.c
diff options
context:
space:
mode:
authorSomya Anand2015-03-09 14:48:25 +0100
committerGreg Kroah-Hartman2015-03-15 18:41:10 +0100
commit22e7f1e25b0a52da91cf9fedf3f02887dc7e4742 (patch)
tree553be9602b42182dff9f64df09240284a301a3f8 /drivers/staging/rtl8188eu/core/rtw_wlan_util.c
parentStaging: rtl8188eu: Remove redundant local variable (diff)
downloadkernel-qcow2-linux-22e7f1e25b0a52da91cf9fedf3f02887dc7e4742.tar.gz
kernel-qcow2-linux-22e7f1e25b0a52da91cf9fedf3f02887dc7e4742.tar.xz
kernel-qcow2-linux-22e7f1e25b0a52da91cf9fedf3f02887dc7e4742.zip
Staging: rtl8188eu: Remove unneeded return statement
This patch removes unnecessary return statement from a void function and hence make it more compatible. This issue is identified by checkpatch.pl Signed-off-by: Somya Anand <somyaanand214@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/core/rtw_wlan_util.c')
-rw-r--r--drivers/staging/rtl8188eu/core/rtw_wlan_util.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_wlan_util.c b/drivers/staging/rtl8188eu/core/rtw_wlan_util.c
index 9e9645b453f1..4ba05b97e487 100644
--- a/drivers/staging/rtl8188eu/core/rtw_wlan_util.c
+++ b/drivers/staging/rtl8188eu/core/rtw_wlan_util.c
@@ -763,7 +763,6 @@ void HT_caps_handler(struct adapter *padapter, struct ndis_802_11_var_ie *pIE)
else
pmlmeinfo->HT_caps.u.HT_cap_element.MCS_rate[i] &= MCS_rate_2R[i];
}
- return;
}
void HT_info_handler(struct adapter *padapter, struct ndis_802_11_var_ie *pIE)
@@ -784,7 +783,6 @@ void HT_info_handler(struct adapter *padapter, struct ndis_802_11_var_ie *pIE)
pmlmeinfo->HT_info_enable = 1;
memcpy(&(pmlmeinfo->HT_info), pIE->data, pIE->Length);
- return;
}
void HTOnAssocRsp(struct adapter *padapter)