staging: rtl8723bs: core: Remove return in void function.
PATCH 2/7 staging: rtl8723bs: core: Remove return in void function.
Remove return in void function to get rid of checkpatch warning.
Signed-off-by Vatsala Narang <[email protected]>
--- drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 10 ---------- 1 file changed, 10 deletions(-)
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c +0 -10
@@ -3097,8 +3097,6 @@ void issue_auth(struct adapter *padapter, struct sta_info *psta, unsigned shortrtw_wep_encrypt (padapter, (u8 *)pmgntframe);DBG_871X ("%s\n" , __func__);dump_mgntframe (padapter, pmgntframe); - -return ; }
@@ -5271,8 +5269,6 @@ void report_del_sta_event(struct adapter *padapter, unsigned char *MacAddr, unsiDBG_871X ("report_del_sta_event: delete STA, mac_id =%d\n" , mac_id);rtw_enqueue_cmd (pcmdpriv, pcmd_obj); - -return ; }void report_add_sta_event (struct adapter *padapter,unsigned char *MacAddr,int cam_idx)
@@ -5317,8 +5313,6 @@ void report_add_sta_event(struct adapter *padapter, unsigned char *MacAddr, intDBG_871X ("report_add_sta_event: add STA\n" );rtw_enqueue_cmd (pcmdpriv, pcmd_obj); - -return ; }/****************************************************************************
@@ -5828,8 +5822,6 @@ void survey_timer_hdl(struct timer_list *t) exit_survey_timer_hdl: - -return ; }void link_timer_hdl (struct timer_list *t)
@@ -5880,8 +5872,6 @@ void link_timer_hdl(struct timer_list *t)issue_assocreq (padapter);set_link_timer (pmlmeext,REASSOC_TO ); } - -return ; }void addba_timer_hdl (struct timer_list *t)
Signature · 1 line
2.17.1
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c void survey_timer_hdl(struct timer_list *t) · line 5825
Quoted 7 lines
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c +0
-2@@ -5828,8 +5822,6 @@ void survey_timer_hdl(struct timer_list *t) exit_survey_timer_hdl: - -return ; }
Are you sure that you compiled this code? I'm not sure that it is possible to have a label without a subsequent statement.
julia