]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: remove out label in btrfs_csum_file_blocks()
authorFilipe Manana <fdmanana@suse.com>
Tue, 20 Jan 2026 20:02:51 +0000 (20:02 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 3 Feb 2026 06:56:22 +0000 (07:56 +0100)
commitcc27540dd09571938cf8e9c80a311b403ac073c4
treedd5e9c4c600912552f836367fe8b81c3a86aace6
parentbb09b9a4917cb5f040dbce66c236c9adae2eeaea
btrfs: remove out label in btrfs_csum_file_blocks()

There is no point in having the label since all it does is return the
value in the 'ret' variable. Instead make every goto return directly
and remove the label.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/file-item.c