]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: remove pointless out labels from qgroup.c
authorFilipe Manana <fdmanana@suse.com>
Tue, 20 Jan 2026 19:48:33 +0000 (19:48 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 3 Feb 2026 06:56:21 +0000 (07:56 +0100)
commitb3acb158ea1a2c9deb1bbff8360001a6a179dc9b
tree2f306672a7f076558b5eb247ba01c195db56c1d3
parentccba88cb6ac0f936c0adcaf4c1a213086c7f3457
btrfs: remove pointless out labels from qgroup.c

Some functions (__del_qgroup_relation() and
qgroup_trace_new_subtree_blocks()) 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/qgroup.c