]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: remove out label in btrfs_init_space_info()
authorFilipe Manana <fdmanana@suse.com>
Tue, 20 Jan 2026 20:06:57 +0000 (20:06 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 3 Feb 2026 06:56:23 +0000 (07:56 +0100)
commit5eb01bf4a9407e8d825ac9ee5b5a1ef2c1972e61
treed5c992bb83a79e1e7f09064086906d401608b53f
parentcefef3cc128076813a7ba5cf34f80130dce3f0a2
btrfs: remove out label in btrfs_init_space_info()

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/space-info.c