mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 04:50:57 +07:00
Btrfs: remove dead code
merge is always NULL at this point. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
d4a789474a
commit
ff0a5836ac
@ -234,7 +234,6 @@ int add_extent_mapping(struct extent_map_tree *tree,
|
|||||||
rb = tree_insert(&tree->map, em->start, &em->rb_node);
|
rb = tree_insert(&tree->map, em->start, &em->rb_node);
|
||||||
if (rb) {
|
if (rb) {
|
||||||
ret = -EEXIST;
|
ret = -EEXIST;
|
||||||
free_extent_map(merge);
|
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
atomic_inc(&em->refs);
|
atomic_inc(&em->refs);
|
||||||
|
Loading…
Reference in New Issue
Block a user