jbd: Remove unnecessary goto statement
authorNamhyung Kim <namhyung@gmail.com>
Mon, 4 Oct 2010 15:13:59 +0000 (00:13 +0900)
committerJan Kara <jack@suse.cz>
Wed, 27 Oct 2010 23:30:01 +0000 (01:30 +0200)
Remove goto statement which jumps to very next line. Also remove
target label because it is no longer used anywhere.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/jbd/transaction.c

index 5ae71e75a4910aeae6fe37eb1edefe70a7b210cc..981449ca8f18a7fd6aa2101ff3e88a04ca64b9ca 100644 (file)
@@ -293,9 +293,7 @@ handle_t *journal_start(journal_t *journal, int nblocks)
                jbd_free_handle(handle);
                current->journal_info = NULL;
                handle = ERR_PTR(err);
-               goto out;
        }
-out:
        return handle;
 }