From: Theodore Ts'o Date: Sat, 18 Dec 2010 18:34:20 +0000 (-0500) Subject: jbd2: remove unnecessary goto statement X-Git-Tag: v2.6.38-rc1~409^2~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ae00b267f3827ba88309fb74bdf7527396f0acf9;p=platform%2Fupstream%2Fkernel-adaptation-pc.git jbd2: remove unnecessary goto statement This is a port to jbd2 of a patch which Namhyung Kim originally made to fs/jbd. Signed-off-by: "Theodore Ts'o" --- diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c index 80f9b2a..3948932 100644 --- a/fs/jbd2/transaction.c +++ b/fs/jbd2/transaction.c @@ -340,9 +340,7 @@ handle_t *jbd2__journal_start(journal_t *journal, int nblocks, int gfp_mask) jbd2_free_handle(handle); current->journal_info = NULL; handle = ERR_PTR(err); - goto out; } -out: return handle; } EXPORT_SYMBOL(jbd2__journal_start);