mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cleanup: remove duplicated code
Commit cac4a9743a
moved setting
if layer structed to the function front, but the old code
was still left in original place.
This commit is contained in:
parent
d6771e513e
commit
469bcc28ac
@ -3586,9 +3586,6 @@ static int _add_new_lv_to_dtree(struct dev_manager *dm, struct dm_tree *dtree,
|
||||
dm_tree_node_get_context(dnode))
|
||||
return 1;
|
||||
|
||||
lvlayer->lv = lv;
|
||||
lvlayer->visible_component = (laopts->component_lv == lv) ? 1 : 0;
|
||||
|
||||
/*
|
||||
* Add LV to dtree.
|
||||
* If we're working with precommitted metadata, clear any
|
||||
|
Loading…
Reference in New Issue
Block a user