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

staging: rtl8723au: core: rtw_mlme: fix void function return statements

The following patch fixes the checkpatch.pl warning:

drivers/staging/rtl8723au/core/rtw_mlme.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 f4c84daf
...@@ -218,8 +218,6 @@ void rtw_generate_random_ibss23a(u8 *pibss) ...@@ -218,8 +218,6 @@ void rtw_generate_random_ibss23a(u8 *pibss)
pibss[3] = curtime & 0xff;/* p[0]; */ pibss[3] = curtime & 0xff;/* p[0]; */
pibss[4] = (curtime >> 8) & 0xff;/* p[1]; */ pibss[4] = (curtime >> 8) & 0xff;/* p[1]; */
pibss[5] = (curtime >> 16) & 0xff;/* p[2]; */ pibss[5] = (curtime >> 16) & 0xff;/* p[2]; */
return;
} }
void rtw_set_roaming(struct rtw_adapter *adapter, u8 to_roaming) void rtw_set_roaming(struct rtw_adapter *adapter, u8 to_roaming)
...@@ -579,8 +577,6 @@ void rtw_atimdone_event_callback23a(struct rtw_adapter *adapter, const u8 *pbuf) ...@@ -579,8 +577,6 @@ void rtw_atimdone_event_callback23a(struct rtw_adapter *adapter, const u8 *pbuf)
{ {
RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_,
("receive atimdone_evet\n")); ("receive atimdone_evet\n"));
return;
} }
void rtw_survey_event_cb23a(struct rtw_adapter *adapter, const u8 *pbuf) void rtw_survey_event_cb23a(struct rtw_adapter *adapter, const u8 *pbuf)
...@@ -650,8 +646,6 @@ void rtw_survey_event_cb23a(struct rtw_adapter *adapter, const u8 *pbuf) ...@@ -650,8 +646,6 @@ void rtw_survey_event_cb23a(struct rtw_adapter *adapter, const u8 *pbuf)
kfree(survey->bss); kfree(survey->bss);
survey->bss = NULL; survey->bss = NULL;
return;
} }
void void
......
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