net/i40e/base: replace license text with SPDX tag
[dpdk.git] / test / test / test_kni.c
index 3dcadce..cf64c0b 100644 (file)
@@ -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) {