]> git.droids-corp.org - dpdk.git/blobdiff - app/test/test_kni.c
cryptodev: add bit-wise handling for SNOW 3G
[dpdk.git] / app / test / test_kni.c
index 9dad98898899acc1fe8a6bce848e14ee1b507a72..7243ade100cf5c385b60f0d07f257b2c96169d86 100644 (file)
@@ -237,7 +237,7 @@ test_kni_allocate_lcores(void)
        }
        printf("count: %u\n", count);
 
        }
        printf("count: %u\n", count);
 
-       return (count == 2 ? 0 : -1);
+       return count == 2 ? 0 : -1;
 }
 
 static int
 }
 
 static int
@@ -625,7 +625,7 @@ test_kni(void)
                                "a never used name string\n");
                goto fail;
        }
                                "a never used name string\n");
                goto fail;
        }
-
+       ret = 0;
 
 fail:
        rte_eth_dev_stop(port_id);
 
 fail:
        rte_eth_dev_stop(port_id);