The remove_map_and_stop_waiter() call which follows immediately
will do the same thing.

Signed-off-by: Martin Wilck <mwi...@suse.com>
---
 multipathd/main.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/multipathd/main.c b/multipathd/main.c
index 79c8ed1e..0c248046 100644
--- a/multipathd/main.c
+++ b/multipathd/main.c
@@ -787,7 +787,6 @@ uev_remove_map (struct uevent * uev, struct vectors * vecs)
                goto out;
        }
 
-       orphan_paths(vecs->pathvec, mpp);
        remove_map_and_stop_waiter(mpp, vecs);
 out:
        lock_cleanup_pop(vecs->lock);
-- 
2.19.1

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel

Reply via email to