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:
parent
996cb153af
commit
1513fc3023
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user