[RFC 13/47] hash: do not include sys/queue.h

Stephen Hemminger
2025-08-18T23:34:03Z

The necessary TAILQ macros are in rte_tailq.h

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
lib/hash/rte_cuckoo_hash.c | 1 -
lib/hash/rte_fbk_hash.c | 1 -
lib/hash/rte_thash.c | 1 -
3 files changed, 3 deletions(-)

diff --git a/lib/hash/rte_cuckoo_hash.c b/lib/hash/rte_cuckoo_hash.c
index 2c92c51624..dbc0ddcf75 100644
--- a/lib/hash/rte_cuckoo_hash.c
+++ b/lib/hash/rte_cuckoo_hash.c
@@ -7,7 +7,6 @@
#include <stdint.h>
#include <errno.h>
#include <stdio.h>
-#include <sys/queue.h>

#include <eal_export.h>
#include <rte_common.h>
diff --git a/lib/hash/rte_fbk_hash.c b/lib/hash/rte_fbk_hash.c
index 38b15a14d1..c4027bee26 100644
--- a/lib/hash/rte_fbk_hash.c
+++ b/lib/hash/rte_fbk_hash.c
@@ -6,7 +6,6 @@
#include <stdio.h>
#include <string.h>
#include <errno.h>
-#include <sys/queue.h>

#include <eal_export.h>
#include <rte_cpuflags.h>
diff --git a/lib/hash/rte_thash.c b/lib/hash/rte_thash.c
index 6c662bf14f..63930f67be 100644
--- a/lib/hash/rte_thash.c
+++ b/lib/hash/rte_thash.c
@@ -3,7 +3,6 @@
*/

#include <stdalign.h>
-#include <sys/queue.h>

#include <eal_export.h>
#include <rte_thash.h>
--
2.47.2