Commit e7c77e43 authored by Nicholas Sim's avatar Nicholas Sim Committed by Greg Kroah-Hartman

staging: rtl8188eu: remove return at end of void function call

Remove unnecessary return statements from last lines of void function call
(several)
Signed-off-by: default avatarNicholas Sim <nicholassimws@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f72ea988
...@@ -601,8 +601,6 @@ static void issue_probersp(struct adapter *padapter, unsigned char *da) ...@@ -601,8 +601,6 @@ static void issue_probersp(struct adapter *padapter, unsigned char *da)
pattrib->last_txcmdsz = pattrib->pktlen; pattrib->last_txcmdsz = pattrib->pktlen;
dump_mgntframe(padapter, pmgntframe); dump_mgntframe(padapter, pmgntframe);
return;
} }
static int issue_probereq(struct adapter *padapter, struct ndis_802_11_ssid *pssid, u8 *da, bool wait_ack) static int issue_probereq(struct adapter *padapter, struct ndis_802_11_ssid *pssid, u8 *da, bool wait_ack)
...@@ -883,8 +881,6 @@ static void issue_auth(struct adapter *padapter, struct sta_info *psta, ...@@ -883,8 +881,6 @@ static void issue_auth(struct adapter *padapter, struct sta_info *psta,
rtw_wep_encrypt(padapter, (u8 *)pmgntframe); rtw_wep_encrypt(padapter, (u8 *)pmgntframe);
DBG_88E("%s\n", __func__); DBG_88E("%s\n", __func__);
dump_mgntframe(padapter, pmgntframe); dump_mgntframe(padapter, pmgntframe);
return;
} }
...@@ -1207,8 +1203,6 @@ static void issue_assocreq(struct adapter *padapter) ...@@ -1207,8 +1203,6 @@ static void issue_assocreq(struct adapter *padapter)
rtw_buf_update(&pmlmepriv->assoc_req, &pmlmepriv->assoc_req_len, (u8 *)pwlanhdr, pattrib->pktlen); rtw_buf_update(&pmlmepriv->assoc_req, &pmlmepriv->assoc_req_len, (u8 *)pwlanhdr, pattrib->pktlen);
else else
rtw_buf_free(&pmlmepriv->assoc_req, &pmlmepriv->assoc_req_len); rtw_buf_free(&pmlmepriv->assoc_req, &pmlmepriv->assoc_req_len);
return;
} }
/* when wait_ack is true, this function should be called at process context */ /* when wait_ack is true, this function should be called at process context */
...@@ -4326,8 +4320,6 @@ void report_survey_event(struct adapter *padapter, ...@@ -4326,8 +4320,6 @@ void report_survey_event(struct adapter *padapter,
rtw_enqueue_cmd(pcmdpriv, pcmd_obj); rtw_enqueue_cmd(pcmdpriv, pcmd_obj);
pmlmeext->sitesurvey_res.bss_cnt++; pmlmeext->sitesurvey_res.bss_cnt++;
return;
} }
void report_surveydone_event(struct adapter *padapter) void report_surveydone_event(struct adapter *padapter)
...@@ -4371,8 +4363,6 @@ void report_surveydone_event(struct adapter *padapter) ...@@ -4371,8 +4363,6 @@ void report_surveydone_event(struct adapter *padapter)
DBG_88E("survey done event(%x)\n", psurveydone_evt->bss_cnt); DBG_88E("survey done event(%x)\n", psurveydone_evt->bss_cnt);
rtw_enqueue_cmd(pcmdpriv, pcmd_obj); rtw_enqueue_cmd(pcmdpriv, pcmd_obj);
return;
} }
void report_join_res(struct adapter *padapter, int res) void report_join_res(struct adapter *padapter, int res)
...@@ -4423,8 +4413,6 @@ void report_join_res(struct adapter *padapter, int res) ...@@ -4423,8 +4413,6 @@ void report_join_res(struct adapter *padapter, int res)
rtw_enqueue_cmd(pcmdpriv, pcmd_obj); rtw_enqueue_cmd(pcmdpriv, pcmd_obj);
return;
} }
void report_del_sta_event(struct adapter *padapter, unsigned char *MacAddr, unsigned short reason) void report_del_sta_event(struct adapter *padapter, unsigned char *MacAddr, unsigned short reason)
...@@ -4480,8 +4468,6 @@ void report_del_sta_event(struct adapter *padapter, unsigned char *MacAddr, unsi ...@@ -4480,8 +4468,6 @@ void report_del_sta_event(struct adapter *padapter, unsigned char *MacAddr, unsi
DBG_88E("report_del_sta_event: delete STA, mac_id =%d\n", mac_id); DBG_88E("report_del_sta_event: delete STA, mac_id =%d\n", mac_id);
rtw_enqueue_cmd(pcmdpriv, pcmd_obj); rtw_enqueue_cmd(pcmdpriv, pcmd_obj);
return;
} }
void report_add_sta_event(struct adapter *padapter, unsigned char *MacAddr, int cam_idx) void report_add_sta_event(struct adapter *padapter, unsigned char *MacAddr, int cam_idx)
...@@ -4526,8 +4512,6 @@ void report_add_sta_event(struct adapter *padapter, unsigned char *MacAddr, int ...@@ -4526,8 +4512,6 @@ void report_add_sta_event(struct adapter *padapter, unsigned char *MacAddr, int
DBG_88E("report_add_sta_event: add STA\n"); DBG_88E("report_add_sta_event: add STA\n");
rtw_enqueue_cmd(pcmdpriv, pcmd_obj); rtw_enqueue_cmd(pcmdpriv, pcmd_obj);
return;
} }
...@@ -4963,7 +4947,6 @@ void link_timer_hdl(unsigned long data) ...@@ -4963,7 +4947,6 @@ void link_timer_hdl(unsigned long data)
issue_assocreq(padapter); issue_assocreq(padapter);
set_link_timer(pmlmeext, REASSOC_TO); set_link_timer(pmlmeext, REASSOC_TO);
} }
return;
} }
void addba_timer_hdl(unsigned long data) void addba_timer_hdl(unsigned long data)
......
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