Commit a2d50bc8 authored by Yeliz Taneroglu's avatar Yeliz Taneroglu Committed by Greg Kroah-Hartman

staging: rtl8723au: core: rtw_wlan_util: Fix void function return statements style warning.

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: default avatarYeliz Taneroglu <yeliztaneroglu@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6ff43271
...@@ -608,8 +608,6 @@ void WMMOnAssocRsp23a(struct rtw_adapter *padapter) ...@@ -608,8 +608,6 @@ void WMMOnAssocRsp23a(struct rtw_adapter *padapter)
DBG_8723A("wmm_para_seq(%d): %d\n", i, DBG_8723A("wmm_para_seq(%d): %d\n", i,
pxmitpriv->wmm_para_seq[i]); pxmitpriv->wmm_para_seq[i]);
} }
return;
} }
static void bwmode_update_check(struct rtw_adapter *padapter, const u8 *p) 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) ...@@ -750,7 +748,6 @@ void HT_caps_handler23a(struct rtw_adapter *padapter, const u8 *p)
else else
cap->mcs.rx_mask[i] &= MCS_rate_2R23A[i]; cap->mcs.rx_mask[i] &= MCS_rate_2R23A[i];
} }
return;
} }
void HT_info_handler23a(struct rtw_adapter *padapter, const u8 *p) 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) ...@@ -771,7 +768,6 @@ void HT_info_handler23a(struct rtw_adapter *padapter, const u8 *p)
pmlmeinfo->HT_info_enable = 1; pmlmeinfo->HT_info_enable = 1;
memcpy(&pmlmeinfo->HT_info, p + 2, p[1]); memcpy(&pmlmeinfo->HT_info, p + 2, p[1]);
return;
} }
void HTOnAssocRsp23a(struct rtw_adapter *padapter) void HTOnAssocRsp23a(struct rtw_adapter *padapter)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment