[dm-devel] [PATCH] libmultipath: remove redundant code in store_pathinfo

peng.liang5 at zte.com.cn peng.liang5 at zte.com.cn
Thu Oct 13 06:39:41 UTC 2016


Please have a review for this patch, hope for your comments.

Thanks

发件人:         peng.liang5 at zte.com.cn
收件人:         christophe varoqui <christophe.varoqui at free.fr>, 
抄送:   zhang.kai16 at zte.com.cn, dm-devel at redhat.com, peng liang 
<peng.liang5 at zte.com.cn>
日期:   2016-08-17 15:06
主题:   [dm-devel] [PATCH] libmultipath: remove redundant code in 
store_pathinfo
发件人: dm-devel-bounces at redhat.com



From: peng liang <peng.liang5 at zte.com.cn>

Signed-off-by: peng liang <peng.liang5 at zte.com.cn>
---
 libmultipath/discovery.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libmultipath/discovery.c b/libmultipath/discovery.c
index bb3116d..0017d18 100644
--- a/libmultipath/discovery.c
+++ b/libmultipath/discovery.c
@@ -95,8 +95,6 @@ store_pathinfo (vector pathvec, struct config *conf,
                                 goto out;
 
                 err = store_path(pathvec, pp);
-                if (err)
-                                goto out;
 
 out:
                 if (err)
-- 
2.8.1.windows.1

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20161013/bdf9cd31/attachment.htm>


More information about the dm-devel mailing list