summaryrefslogtreecommitdiff
path: root/test/test/test_kni.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test/test_kni.c')
-rw-r--r--test/test/test_kni.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/test/test_kni.c b/test/test/test_kni.c
index 3dcadce..cf64c0b 100644
--- a/test/test/test_kni.c
+++ b/test/test/test_kni.c
@@ -426,12 +426,6 @@ test_kni_processing(uint16_t port_id, struct rte_mempool *mp)
}
test_kni_ctx = NULL;
- /* test of releasing a released kni device */
- if (rte_kni_release(kni) == 0) {
- printf("should not release a released kni device\n");
- return -1;
- }
-
/* test of reusing memzone */
kni = rte_kni_alloc(mp, &conf, &ops);
if (!kni) {