mempool/octeontx: remove dead code

Coverity Issue: 195000
Fixes: 02fd6c7443 ("mempool/octeontx: support allocation")

Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
This commit is contained in:
Santosh Shukla 2017-10-20 15:39:58 +00:00 committed by Thomas Monjalon
parent 996cb153af
commit 1513fc3023

View File

@ -176,9 +176,6 @@ octeontx_fpa_gpool2handle(uint16_t gpool)
RTE_ASSERT(gpool < FPA_VF_MAX);
res = &fpadev.pool[gpool];
if (unlikely(res == NULL))
return 0;
return (uintptr_t)res->bar0 | gpool;
}