test: remove double registration check
PATCH v5 10/10 test: remove double registration check
From: Sinan Kaya <[email protected]>
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 <[email protected]>
--- app/test/test_tailq.c | 5 ----- 1 file changed, 5 deletions(-)
app/test/test_tailq.c +0 -5
@@ -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 ; }
Signature · 1 line
2.25.1