Skip to contentSkip to conversation

test: remove double registration check

PATCH In review [email protected] 1 participant 1 message Aug 17, 2023

lore
Share & tools
lore
#0 lore raw

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.

---
 app/test/test_tailq.c | 5 -----
 1 file changed, 5 deletions(-)
app/test/test_tailq.c +0 -5
index 9520219b0a..fbb483ea86 100644
@@ -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