From e9508b64cadf091cf49bd128ab625b4ea68b3888 Mon Sep 17 00:00:00 2001 From: Hemant Agrawal Date: Tue, 10 Oct 2017 19:47:11 +0530 Subject: [PATCH] mempool: remove get capability debug log This is not required to be printed for every mempool call. Signed-off-by: Hemant Agrawal Reviewed-by: Santosh Shukla --- lib/librte_mempool/rte_mempool.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/librte_mempool/rte_mempool.c b/lib/librte_mempool/rte_mempool.c index 57a4f8122a..6357fd48e7 100644 --- a/lib/librte_mempool/rte_mempool.c +++ b/lib/librte_mempool/rte_mempool.c @@ -559,10 +559,7 @@ rte_mempool_populate_default(struct rte_mempool *mp) /* Get mempool capabilities */ mp_flags = 0; ret = rte_mempool_ops_get_capabilities(mp, &mp_flags); - if (ret == -ENOTSUP) - RTE_LOG(DEBUG, MEMPOOL, "get_capability not supported for %s\n", - mp->name); - else if (ret < 0) + if ((ret < 0) && (ret != -ENOTSUP)) return ret; /* update mempool capabilities */