Fix a batch of coverity warnings, VPP-486
[vpp.git] / vnet / vnet / devices / dpdk / init.c
index e06d6bf..ee22b9a 100644 (file)
@@ -739,7 +739,7 @@ dpdk_lib_init (dpdk_main_t * dm)
       if (devconf->hqos_enabled)
        {
          rv = dpdk_port_setup_hqos (xd, &devconf->hqos);
-         if (rv < 0)
+         if (rv)
            return rv;
        }