hash: fix return of bulk lookup
authorJeff Shaw <jeffrey.b.shaw@intel.com>
Sat, 8 Dec 2018 00:01:26 +0000 (16:01 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 21 Dec 2018 00:41:18 +0000 (01:41 +0100)
commit0f48ca429bc7a816a6fb8a0d9bd119fe0471788c
tree81735107762402826de3d532c1445dc005a9ba85
parente6c6dc0f96c8b2b353061ae27b1059038189b709
hash: fix return of bulk lookup

The __rte_hash_lookup_bulk() function returns void, and therefore
should not return with an expression. This commit fixes the following
compiler warning when attempting to compile with "-pedantic -std=c11".

  warning: ISO C forbids ‘return’ with expression, in function
           returning void [-Wpedantic]

Fixes: 9eca8bd7a61c ("hash: separate lock-free and r/w lock lookup")
Cc: stable@dpdk.org
Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_hash/rte_cuckoo_hash.c