summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent_map.h
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2023-12-04 16:20:28 +0000
committerDavid Sterba <dsterba@suse.com>2023-12-15 22:59:01 +0100
commitd224d2ef959a768fc88242224d8527e5f88789b6 (patch)
treec85b3b73cb64b72a084f7f16187a64313438b0fe /fs/btrfs/extent_map.h
parentdb9d94464a7acb149d014de1b0aa982b8c3856a6 (diff)
btrfs: remove redundant value assignment at btrfs_add_extent_mapping()
At btrfs_add_extent_mapping(), in case add_extent_mapping() returned -EEXIST, it's pointless to assign 0 to 'ret' since we will assign a value to it shortly after, without 'ret' being used before that. So remove that pointless assignment. Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_map.h')
0 files changed, 0 insertions, 0 deletions