X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_mempool%2Frte_mempool_stack.c;h=817f77e6657ca1ba7342fb6331458cc7f68ce4e5;hb=ecaed092b677d09b4b8645a3ddc38aac0ea929f7;hp=5fd8af24e012e3643315f1ba86d0f9fc75895e1a;hpb=57faf30b074e55f04fed2ff6c8267f1bb9dcd133;p=dpdk.git diff --git a/lib/librte_mempool/rte_mempool_stack.c b/lib/librte_mempool/rte_mempool_stack.c index 5fd8af24e0..817f77e665 100644 --- a/lib/librte_mempool/rte_mempool_stack.c +++ b/lib/librte_mempool/rte_mempool_stack.c @@ -118,7 +118,7 @@ stack_dequeue(struct rte_mempool *mp, void **obj_table, s->len -= n; rte_spinlock_unlock(&s->sl); - return n; + return 0; } static unsigned