jbd: Remove unnecessary goto statement
PATCH 1/1 jbd: Remove unnecessary goto statement
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 <[email protected]>
--- fs/jbd/transaction.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
fs/jbd/transaction.c +0 -2
@@ -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; }
Signature · 1 line
1.7.0.4
Quoted 2 lines · Namhyung Kim
Remove goto statement which jumps to very next line. Also remove target label because it is no longer used anywhere.
Thanks. Merged into my tree.
Honza
Quoted 23 lines
Signed-off-by Namhyung Kim <[email protected]>--- fs/jbd/transaction.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)fs/jbd/transaction.c +0
-2@@ -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; }Signature · 1 line
1.7.0.4
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR