Re: [PATCH] jbd: Remove unnecessary goto statement

From: Jan Kara
Date: Mon Oct 04 2010 - 11:58:51 EST


On Tue 05-10-10 00:13:59, Namhyung Kim wrote:
> 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
>
> Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxx>
> ---
> fs/jbd/transaction.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/fs/jbd/transaction.c b/fs/jbd/transaction.c
> index 5ae71e7..981449c 100644
> --- a/fs/jbd/transaction.c
> +++ b/fs/jbd/transaction.c
> @@ -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;
> }
>
> --
> 1.7.0.4
>
--
Jan Kara <jack@xxxxxxx>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/