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 <michae...@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

Reply via email to