diff options
author | Filipe Manana <fdmanana@suse.com> | 2023-12-04 16:20:28 +0000 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-12-15 22:59:01 +0100 |
commit | d224d2ef959a768fc88242224d8527e5f88789b6 (patch) | |
tree | c85b3b73cb64b72a084f7f16187a64313438b0fe /fs/btrfs/extent_map.h | |
parent | db9d94464a7acb149d014de1b0aa982b8c3856a6 (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