staging: unisys: remove unnecessary goto

parser_param_start() had a goto Away, which went to nothing but
a return statement. Remove the goto, the CamelCased label, and
just return directly.

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Benjamin Romer 2016-02-08 10:41:53 -05:00 committed by Greg Kroah-Hartman
parent 05f1b17ec7
commit b4d4dfbcbb
1 changed files with 2 additions and 4 deletions

View File

@ -461,7 +461,8 @@ parser_param_start(struct parser_context *ctx,
struct spar_controlvm_parameters_header *phdr = NULL; struct spar_controlvm_parameters_header *phdr = NULL;
if (!ctx) if (!ctx)
goto Away; return;
phdr = (struct spar_controlvm_parameters_header *)(ctx->data); phdr = (struct spar_controlvm_parameters_header *)(ctx->data);
switch (which_string) { switch (which_string) {
case PARSERSTRING_INITIATOR: case PARSERSTRING_INITIATOR:
@ -483,9 +484,6 @@ parser_param_start(struct parser_context *ctx,
default: default:
break; break;
} }
Away:
return;
} }
static void parser_done(struct parser_context *ctx) static void parser_done(struct parser_context *ctx)