[PATCH v3 19/44] net/tap: remove unnecessary include of sys/queue.h

Stephen Hemminger
2025-11-03T16:51:34Z

The macros in sys/queue.h are not used here.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
drivers/net/tap/rte_eth_tap.h | 1 -
drivers/net/tap/tap_flow.c | 1 -
2 files changed, 2 deletions(-)

diff --git a/drivers/net/tap/rte_eth_tap.h b/drivers/net/tap/rte_eth_tap.h
index ce4322ad04..055a9e9b23 100644
--- a/drivers/net/tap/rte_eth_tap.h
+++ b/drivers/net/tap/rte_eth_tap.h
@@ -6,7 +6,6 @@
#ifndef _RTE_ETH_TAP_H_
#define _RTE_ETH_TAP_H_

-#include <sys/queue.h>
#include <sys/uio.h>
#include <inttypes.h>
#include <net/if.h>
diff --git a/drivers/net/tap/tap_flow.c b/drivers/net/tap/tap_flow.c
index 9d4ef27a8a..90fab604c2 100644
--- a/drivers/net/tap/tap_flow.c
+++ b/drivers/net/tap/tap_flow.c
@@ -6,7 +6,6 @@
#include <errno.h>
#include <string.h>
#include <unistd.h>
-#include <sys/queue.h>
#include <sys/resource.h>

#include <rte_byteorder.h>
--
2.51.0