[dpdk-dev] [PATCH v2] lib: fix unnecessary double negation

David Marchand david.marchand at redhat.com
Fri Feb 14 17:39:32 CET 2020

On Fri, Feb 14, 2020 at 5:28 PM Ciara Power <ciara.power at intel.com> wrote:
> 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 at dpdk.org
> Signed-off-by: Ciara Power <ciara.power at intel.com>
> Acked-by: Olivier Matz <olivier.matz at 6wind.com>
> Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>

Applied, thanks.

David Marchand

More information about the dev mailing list