Remove redefinition of TRUE & FALSE. These are defined by stdbool. Can use the same.
Signed-off-by: Anoob Joseph <ano...@marvell.com> --- app/test/test_cryptodev.c | 5 +++-- app/test/test_cryptodev.h | 3 --- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 5444d82c50..169e2f3b48 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -3,6 +3,7 @@ * Copyright 2020 NXP */ +#include <stdbool.h> #include <time.h> #include <rte_common.h> @@ -796,7 +797,7 @@ check_capabilities_supported(enum rte_crypto_sym_xform_type type, const int *algs, uint16_t num_algs) { uint8_t dev_id = testsuite_params.valid_devs[0]; - bool some_alg_supported = FALSE; + bool some_alg_supported = false; uint16_t i; for (i = 0; i < num_algs && !some_alg_supported; i++) { @@ -805,7 +806,7 @@ check_capabilities_supported(enum rte_crypto_sym_xform_type type, }; if (rte_cryptodev_sym_capability_get(dev_id, &alg) != NULL) - some_alg_supported = TRUE; + some_alg_supported = true; } if (!some_alg_supported) return TEST_SKIPPED; diff --git a/app/test/test_cryptodev.h b/app/test/test_cryptodev.h index c322f10b94..e00c9866c3 100644 --- a/app/test/test_cryptodev.h +++ b/app/test/test_cryptodev.h @@ -8,9 +8,6 @@ #define HEX_DUMP 0 -#define FALSE 0 -#define TRUE 1 - #define MAX_NUM_OPS_INFLIGHT (4096) #define MIN_NUM_OPS_INFLIGHT (128) #define DEFAULT_NUM_OPS_INFLIGHT (128) -- 2.45.2