From: Sinan Kaya <ok...@kernel.org>

Code will fetch the existing registration when called
for second time as part of the reinit changes.
Registration will still succeed.

Signed-off-by: Sinan Kaya <ok...@kernel.org>
---
 app/test/test_tailq.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/app/test/test_tailq.c b/app/test/test_tailq.c
index 9520219b0a..fbb483ea86 100644
--- a/app/test/test_tailq.c
+++ b/app/test/test_tailq.c
@@ -70,11 +70,6 @@ test_tailq_create(void)
        if (strcmp(rte_dummy_dyn2_tailq.name, rte_dummy_dyn_tailq.name))
                do_return("Error, something is wrong in the tailq test\n");
 
-       /* try allocating again, and check for failure */
-       if (!rte_eal_tailq_register(&rte_dummy_dyn2_tailq))
-               do_return("Error, registering the same tailq %s did not fail\n",
-                         rte_dummy_dyn2_tailq.name);
-
        return 0;
 }
 
-- 
2.25.1

Reply via email to