staging: rtl8188eu: goto replaced by 'else' branch
goto is not needed here. Signed-off-by: Ivan Safonov <insafonov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d14c07f6ff
commit
4a3bda22fd
|
@ -201,9 +201,7 @@ _next:
|
|||
|
||||
if (rtw_cmd_filter(pcmdpriv, pcmd) == _FAIL) {
|
||||
pcmd->res = H2C_DROPPED;
|
||||
goto post_process;
|
||||
}
|
||||
|
||||
} else {
|
||||
if (pcmd->cmdcode < ARRAY_SIZE(wlancmds)) {
|
||||
cmd_hdl = wlancmds[pcmd->cmdcode].h2cfuns;
|
||||
|
||||
|
@ -216,8 +214,7 @@ _next:
|
|||
}
|
||||
|
||||
cmd_hdl = NULL;
|
||||
|
||||
post_process:
|
||||
}
|
||||
|
||||
/* call callback function for post-processed */
|
||||
if (pcmd->cmdcode < ARRAY_SIZE(rtw_cmd_callback)) {
|
||||
|
|
Loading…
Reference in New Issue