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 <namhyung@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>
This commit is contained in:
parent
f81e3d4564
commit
2b23976908
@ -293,9 +293,7 @@ handle_t *journal_start(journal_t *journal, int nblocks)
|
|||||||
jbd_free_handle(handle);
|
jbd_free_handle(handle);
|
||||||
current->journal_info = NULL;
|
current->journal_info = NULL;
|
||||||
handle = ERR_PTR(err);
|
handle = ERR_PTR(err);
|
||||||
goto out;
|
|
||||||
}
|
}
|
||||||
out:
|
|
||||||
return handle;
|
return handle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user