]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: remove pointless out labels from uuid-tree.c
authorFilipe Manana <fdmanana@suse.com>
Tue, 20 Jan 2026 19:58:06 +0000 (19:58 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 3 Feb 2026 06:56:21 +0000 (07:56 +0100)
commit1038614e8f2c045561db0cf2b064a0e5cb909a1c
treef8e895d50c4af4623025d5b9b7e14483835e9318
parent47c9dbc791e0bfb4ed6b0ce866f9fc848db39e6c
btrfs: remove pointless out labels from uuid-tree.c

Some functions (btrfs_uuid_iter_rem() and btrfs_check_uuid_tree_entry())
have an 'out' label that does nothing but return, making it pointless.
Simplify this by removing the label and returning instead of gotos plus
setting the 'ret' variable.

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/uuid-tree.c