]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: remove pointless out labels from send.c
authorFilipe Manana <fdmanana@suse.com>
Tue, 20 Jan 2026 11:29:02 +0000 (11:29 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 3 Feb 2026 06:56:20 +0000 (07:56 +0100)
commitccba88cb6ac0f936c0adcaf4c1a213086c7f3457
treee0b8aa4903ab085e00bf62e485f0a5845decba7e
parent01f93271ed0218937bd6386d6d6deccd92621a38
btrfs: remove pointless out labels from send.c

Some functions (process_extent(), process_recorded_refs_if_needed(),
changed_inode(), compare_refs() and changed_cb()) 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/send.c