* [PATCH] tcp: Remove some no longer used includes
@ 2026-01-09 3:18 David Gibson
0 siblings, 0 replies; only message in thread
From: David Gibson @ 2026-01-09 3:18 UTC (permalink / raw)
To: Stefano Brivio, passt-dev; +Cc: David Gibson, Xun Gu
Found a moment to fix this trivial bug that's been sitting around for a
few months. tcp.c no longer relies on siphash.h or pcap.h so we can
remove the #includes.
Link: https://bugs.passt.top/show_bug.cgi?id=136
Reported-by: Xun Gu <xugu@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
---
tcp.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tcp.c b/tcp.c
index e7fa85f3..8a924799 100644
--- a/tcp.c
+++ b/tcp.c
@@ -301,8 +301,6 @@
#include "ip.h"
#include "passt.h"
#include "tap.h"
-#include "siphash.h"
-#include "pcap.h"
#include "tcp_splice.h"
#include "log.h"
#include "inany.h"
--
2.52.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-01-09 3:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-09 3:18 [PATCH] tcp: Remove some no longer used includes David Gibson
Code repositories for project(s) associated with this public inbox
https://passt.top/passt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).