[dm-devel] [PATCH 2/2] multipathd: Disabled code that is not being used.
Tejaswini Poluri
tpoluri at mvista.com
Mon Jul 20 09:29:32 UTC 2015
This part of the code is moved to cli_add_map and
disabled here as it is not used by any function call
here.
Signed-off-by: Tejaswini Poluri <tpoluri at mvista.com>
---
multipathd/main.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/multipathd/main.c b/multipathd/main.c
index f876258..e40b968 100644
--- a/multipathd/main.c
+++ b/multipathd/main.c
@@ -329,6 +329,7 @@ ev_add_map (char * dev, char * alias, struct vectors * vecs)
return 1;
}
}
+#if 0 /*Disabled as the code is not used by any function*/
r = get_refwwid(dev, DEV_DEVMAP, vecs->pathvec, &refwwid);
if (refwwid) {
@@ -344,6 +345,7 @@ ev_add_map (char * dev, char * alias, struct vectors * vecs)
condlog(0, "%s: uev_add_map %s failed", alias, dev);
FREE(refwwid);
+#endif
return r;
}
--
1.9.1
More information about the dm-devel
mailing list