]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
staging: rtl8723bs: remove redundant returns in rtw_mlme_ext.c
authorHungyu Lin <dennylin0707@gmail.com>
Sat, 4 Apr 2026 11:48:02 +0000 (11:48 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Apr 2026 11:01:54 +0000 (05:01 -0600)
Remove redundant return statements at the end of void functions
in rtw_mlme_ext.c.

No functional change.

Signed-off-by: Hungyu Lin <dennylin0707@gmail.com>
Reviewed-by: Luka Gejak <luka.gejak@linux.dev>
Link: https://patch.msgid.link/20260404114802.11242-1-dennylin0707@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c

index 3d7beb83887db0cbb1e39b4e06d959501726069a..21ff01482b4804a7051b6423076701ed7acfccc6 100644 (file)
@@ -2419,9 +2419,6 @@ void issue_probersp(struct adapter *padapter, unsigned char *da, u8 is_valid_p2p
 
 
        dump_mgntframe(padapter, pmgntframe);
-
-       return;
-
 }
 
 static int _issue_probereq(struct adapter *padapter,
@@ -3879,9 +3876,6 @@ void site_survey(struct adapter *padapter)
                        issue_action_BSSCoexistPacket(padapter);
                }
        }
-
-       return;
-
 }
 
 /* collect bss info from Beacon and Probe request/response frames. */
@@ -4416,9 +4410,6 @@ void report_survey_event(struct adapter *padapter, union recv_frame *precv_frame
        rtw_enqueue_cmd(pcmdpriv, pcmd_obj);
 
        pmlmeext->sitesurvey_res.bss_cnt++;
-
-       return;
-
 }
 
 void report_surveydone_event(struct adapter *padapter)
@@ -4460,9 +4451,6 @@ void report_surveydone_event(struct adapter *padapter)
        psurveydone_evt->bss_cnt = pmlmeext->sitesurvey_res.bss_cnt;
 
        rtw_enqueue_cmd(pcmdpriv, pcmd_obj);
-
-       return;
-
 }
 
 void report_join_res(struct adapter *padapter, int res)
@@ -4554,9 +4542,6 @@ void report_wmm_edca_update(struct adapter *padapter)
        pwmm_event->wmm = 0;
 
        rtw_enqueue_cmd(pcmdpriv, pcmd_obj);
-
-       return;
-
 }
 
 void report_del_sta_event(struct adapter *padapter, unsigned char *MacAddr, unsigned short reason)