[PATCH v2 2/2] compressdev: remove useless list end enums
Michael Baum
michaelba at nvidia.com
Wed Feb 1 16:35:31 CET 2023
The both "RTE_COMP_ALGO_LIST_END" and "RTE_COMP_HASH_ALGO_LIST_END" are
useless. This patch removes them from the library.
Signed-off-by: Michael Baum <michaelba at nvidia.com>
---
lib/compressdev/rte_comp.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/compressdev/rte_comp.h b/lib/compressdev/rte_comp.h
index a8f398b57b..5bd711fda1 100644
--- a/lib/compressdev/rte_comp.h
+++ b/lib/compressdev/rte_comp.h
@@ -109,7 +109,6 @@ enum rte_comp_algorithm {
/**< LZS compression algorithm
* https://tools.ietf.org/html/rfc2395
*/
- RTE_COMP_ALGO_LIST_END
};
/** Compression Hash Algorithms */
@@ -120,7 +119,6 @@ enum rte_comp_hash_algorithm {
/**< SHA1 hash algorithm */
RTE_COMP_HASH_ALGO_SHA2_256,
/**< SHA256 hash algorithm of SHA2 family */
- RTE_COMP_HASH_ALGO_LIST_END
};
/**< Compression Level.
--
2.25.1
More information about the dev
mailing list