From a7a24d6dab005766eac721fc7b8721b0b10bde71 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Thu, 28 Jun 2012 23:31:07 +0000 Subject: [PATCH] scst: Remove a superfluous goto statement and a superfluous label Signed-off-by: Bart Van Assche git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4389 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_targ.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/scst/src/scst_targ.c b/scst/src/scst_targ.c index ddfa29ffb..671cf2888 100644 --- a/scst/src/scst_targ.c +++ b/scst/src/scst_targ.c @@ -2631,9 +2631,7 @@ out_complete: out_error: scst_set_cmd_error(cmd, SCST_LOAD_SENSE(scst_sense_hardw_error)); - goto out_done; -out_done: res = SCST_EXEC_COMPLETED; /* Report the result */ cmd->scst_cmd_done(cmd, SCST_CMD_STATE_DEFAULT, SCST_CONTEXT_SAME);