Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: fix unnecessary double negation
[ upstream commit f42c9ac ] An equality expression already returns either 0 or 1. There is no need to use double negation for these cases. Fixes: ea672a8 ("mbuf: remove the rte_pktmbuf structure") Fixes: a0fd91c ("mempool: rename functions with confusing names") 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>
- Loading branch information
1 parent
10fdbbc
commit 368b63c
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters