diff mbox

libmultipath: remove redundant code in store_pathinfo

Message ID OF1247CC1C.B33997F5-ON4825804B.0023F846-4825804B.0024961A@zte.com.cn (mailing list archive)
State Not Applicable, archived
Delegated to: Mike Snitzer
Headers show

Commit Message

peng.liang5@zte.com.cn Oct. 13, 2016, 6:39 a.m. UTC
Please have a review for this patch, hope for your comments.

Thanks

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



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


Signed-off-by: peng liang <peng.liang5@zte.com.cn>

---
 libmultipath/discovery.c | 2 --
 1 file changed, 2 deletions(-)

-- 
2.8.1.windows.1

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

Patch

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)