mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 08:46:46 +00:00
staging: rtl8723bs: remove return from a function returning void
Adhere to Linux kernel coding style. Reported by checkpatch: WARNING: void function return statements are not generally useful Signed-off-by: Sevinj Aghayeva <sevinj.aghayeva@gmail.com> Link: https://lore.kernel.org/r/d1aa09f34cd192e284048999ba8e20d26a224483.1649128267.git.sevinj.aghayeva@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
826fdfafeb
commit
3c22d17793
1 changed files with 2 additions and 7 deletions
|
@ -5114,22 +5114,17 @@ void survey_timer_hdl(struct timer_list *t)
|
|||
|
||||
ph2c = rtw_zmalloc(sizeof(struct cmd_obj));
|
||||
if (!ph2c)
|
||||
goto exit_survey_timer_hdl;
|
||||
return;
|
||||
|
||||
psurveyPara = rtw_zmalloc(sizeof(struct sitesurvey_parm));
|
||||
if (!psurveyPara) {
|
||||
kfree(ph2c);
|
||||
goto exit_survey_timer_hdl;
|
||||
return;
|
||||
}
|
||||
|
||||
init_h2fwcmd_w_parm_no_rsp(ph2c, psurveyPara, GEN_CMD_CODE(_SiteSurvey));
|
||||
rtw_enqueue_cmd(pcmdpriv, ph2c);
|
||||
}
|
||||
|
||||
|
||||
exit_survey_timer_hdl:
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
void link_timer_hdl(struct timer_list *t)
|
||||
|
|
Loading…
Reference in a new issue