mempool: remove get capability debug log

This is not required to be printed for every mempool call.

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Reviewed-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
This commit is contained in:
Hemant Agrawal 2017-10-10 19:47:11 +05:30 committed by Thomas Monjalon
parent 492ab60445
commit e9508b64ca

View File

@ -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 */