diff mbox

[1/3] validation: crypto: don't create completion pool

Message ID 1424862845-18733-2-git-send-email-taras.kondratiuk@linaro.org
State Accepted
Commit dcd6e6690f42b19c1c70b31e1bd1d126a20ac92c
Headers show

Commit Message

Taras Kondratiuk Feb. 25, 2015, 11:14 a.m. UTC
In a current API version crypto completions are allocated by implementation.
So remove unused pool.

Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
---
 test/validation/odp_crypto.c | 12 ------------
 1 file changed, 12 deletions(-)
diff mbox

Patch

diff --git a/test/validation/odp_crypto.c b/test/validation/odp_crypto.c
index b109a75..fbe5dbb 100644
--- a/test/validation/odp_crypto.c
+++ b/test/validation/odp_crypto.c
@@ -48,17 +48,5 @@  int tests_global_init(void)
 		return -1;
 	}
 
-	params.buf.size  = SHM_COMPL_POOL_BUF_SIZE;
-	params.buf.align = 0;
-	params.buf.num   = SHM_COMPL_POOL_SIZE/SHM_COMPL_POOL_BUF_SIZE;
-	params.type      = ODP_POOL_BUFFER;
-
-	pool = odp_pool_create("compl_pool", ODP_SHM_NULL, &params);
-
-	if (ODP_POOL_INVALID == pool) {
-		fprintf(stderr, "Completion pool creation failed.\n");
-		return -1;
-	}
-
 	return 0;
 }