Commit 4a3bda22 authored by Ivan Safonov's avatar Ivan Safonov Committed by Greg Kroah-Hartman
Browse files

staging: rtl8188eu: goto replaced by 'else' branch



goto is not needed here.

Signed-off-by: default avatarIvan Safonov <insafonov@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d14c07f6
Loading
Loading
Loading
Loading
+11 −14
Original line number Diff line number Diff line
@@ -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)) {