]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb303cc95336be3e603cd5e6902a22bcddb9d1cea
treee0adeb30fecb455b410b637f0ecf3023a49d5282
parent120633b093098691058f96ced705e77a4fd98dd2
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