[v4,05/14] gso: remove unneeded header includes

Message ID 20220620104030.1889156-6-sean.morrissey@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series remove IWYU flagged headers |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Sean Morrissey June 20, 2022, 10:40 a.m. UTC
  These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
---
 lib/gso/gso_common.c      | 1 -
 lib/gso/gso_common.h      | 1 -
 lib/gso/gso_tcp4.h        | 1 -
 lib/gso/gso_tunnel_tcp4.h | 1 -
 lib/gso/gso_tunnel_udp4.h | 1 -
 lib/gso/gso_udp4.h        | 1 -
 6 files changed, 6 deletions(-)
  

Patch

diff --git a/lib/gso/gso_common.c b/lib/gso/gso_common.c
index 0fad1132fc..378bf2c6aa 100644
--- a/lib/gso/gso_common.c
+++ b/lib/gso/gso_common.c
@@ -6,7 +6,6 @@ 
 #include <errno.h>
 
 #include <rte_memcpy.h>
-#include <rte_mempool.h>
 
 #include "gso_common.h"
 
diff --git a/lib/gso/gso_common.h b/lib/gso/gso_common.h
index 2c258b22bf..9456d596d3 100644
--- a/lib/gso/gso_common.h
+++ b/lib/gso/gso_common.h
@@ -7,7 +7,6 @@ 
 
 #include <stdint.h>
 
-#include <rte_mbuf.h>
 #include <rte_ip.h>
 #include <rte_tcp.h>
 #include <rte_udp.h>
diff --git a/lib/gso/gso_tcp4.h b/lib/gso/gso_tcp4.h
index 10d4b3acdd..7527fa51c9 100644
--- a/lib/gso/gso_tcp4.h
+++ b/lib/gso/gso_tcp4.h
@@ -6,7 +6,6 @@ 
 #define _GSO_TCP4_H_
 
 #include <stdint.h>
-#include <rte_mbuf.h>
 
 /**
  * Segment an IPv4/TCP packet. This function doesn't check if the input
diff --git a/lib/gso/gso_tunnel_tcp4.h b/lib/gso/gso_tunnel_tcp4.h
index c522ed27f2..3a7ea238c8 100644
--- a/lib/gso/gso_tunnel_tcp4.h
+++ b/lib/gso/gso_tunnel_tcp4.h
@@ -6,7 +6,6 @@ 
 #define _GSO_TUNNEL_TCP4_H_
 
 #include <stdint.h>
-#include <rte_mbuf.h>
 
 /**
  * Segment a tunneling packet with inner TCP/IPv4 headers. This function
diff --git a/lib/gso/gso_tunnel_udp4.h b/lib/gso/gso_tunnel_udp4.h
index c49b43fe3e..214a69ccd5 100644
--- a/lib/gso/gso_tunnel_udp4.h
+++ b/lib/gso/gso_tunnel_udp4.h
@@ -6,7 +6,6 @@ 
 #define _GSO_TUNNEL_UDP4_H_
 
 #include <stdint.h>
-#include <rte_mbuf.h>
 
 /**
  * Segment a tunneling packet with inner UDP/IPv4 headers. This function
diff --git a/lib/gso/gso_udp4.h b/lib/gso/gso_udp4.h
index b2a2908e54..8baa0ba6db 100644
--- a/lib/gso/gso_udp4.h
+++ b/lib/gso/gso_udp4.h
@@ -6,7 +6,6 @@ 
 #define _GSO_UDP4_H_
 
 #include <stdint.h>
-#include <rte_mbuf.h>
 
 /**
  * Segment an UDP/IPv4 packet. This function doesn't check if the input