jbd2: remove the out label in __jbd2_journal_remove_checkpoint()
authorZhang Yi <yi.zhang@huawei.com>
Thu, 10 Jun 2021 11:24:33 +0000 (19:24 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 24 Jun 2021 14:33:06 +0000 (10:33 -0400)
commit1866cba842437f3e7a5a8ee5b558744d9ae844d0
treee0adeb30fecb455b410b637f0ecf3023a49d5282
parent0caaefbaf2a429c256c7469cb603ca8918e96fb0
jbd2: remove the out label in __jbd2_journal_remove_checkpoint()

The 'out' lable just return the 'ret' value and seems not required, so
remove this label and switch to return appropriate value immediately.
This patch also do some minor cleanup, no logical change.

Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20210610112440.3438139-2-yi.zhang@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/jbd2/checkpoint.c