* [PATCH v5 10/10] test: remove double registration check
@ 2023-08-17 4:30 okaya
0 siblings, 0 replies; only message in thread
From: okaya @ 2023-08-17 4:30 UTC (permalink / raw)
Cc: dev, Sinan Kaya
From: Sinan Kaya <okaya@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 <okaya@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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-17 4:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-17 4:30 [PATCH v5 10/10] test: remove double registration check okaya
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).