diff options
| author | 2023-12-04 16:20:28 +0000 | |
|---|---|---|
| committer | 2023-12-15 22:59:01 +0100 | |
| commit | d224d2ef959a768fc88242224d8527e5f88789b6 (patch) | |
| tree | c85b3b73cb64b72a084f7f16187a64313438b0fe /fs/btrfs/tree-log.c | |
| parent | btrfs: unexport add_extent_mapping() (diff) | |
| download | wireguard-linux-d224d2ef959a768fc88242224d8527e5f88789b6.tar.xz wireguard-linux-d224d2ef959a768fc88242224d8527e5f88789b6.zip | |
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/tree-log.c')
0 files changed, 0 insertions, 0 deletions
