X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_eal%2Fcommon%2Feal_common_dev.c;h=d74f978f3b291ac1880fd77553fd1eda6ac95add;hb=1c35f666df0786541cd2c83fbad332c1af2a78e7;hp=e10b9fd8506f79f1084c541e18411655fcb68050;hpb=8783252166dac9cf9a829f8e697ebb3cfba4e874;p=dpdk.git diff --git a/lib/librte_eal/common/eal_common_dev.c b/lib/librte_eal/common/eal_common_dev.c index e10b9fd850..d74f978f3b 100644 --- a/lib/librte_eal/common/eal_common_dev.c +++ b/lib/librte_eal/common/eal_common_dev.c @@ -74,7 +74,7 @@ int rte_eal_dev_attach(const char *name, const char *devargs) } ret = rte_eal_hotplug_add("pci", name, devargs); - if (ret && ret != -EINVAL) + if (ret != -EINVAL) return ret; /*