lib: fix unnecessary double negation
authorCiara Power <ciara.power@intel.com>
Fri, 14 Feb 2020 16:17:25 +0000 (16:17 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 14 Feb 2020 16:39:46 +0000 (17:39 +0100)
commitf42c9ac5b6b5fabd3c6bb124914af6704445e853
treedd2a5c0892d15fce607916f63f5c33b534423415
parent2adb3b4e7e54dcce626560da39b6fb6adfe914bc
lib: fix unnecessary double negation

An equality expression already returns either 0 or 1.
There is no need to use double negation for these cases.

Fixes: ea672a8b1655 ("mbuf: remove the rte_pktmbuf structure")
Fixes: a0fd91cefcc0 ("mempool: rename functions with confusing names")
Cc: stable@dpdk.org
Signed-off-by: Ciara Power <ciara.power@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_mbuf/rte_mbuf.h
lib/librte_mempool/rte_mempool.h