From: Jakub Kicinski Date: Thu, 26 Jan 2023 07:14:24 +0000 (-0800) Subject: net: remove unnecessary includes from net/flow.h X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=21bf73158fe7ae8a3d55618e58edc958f84739a8;p=users%2Fjedix%2Flinux-maple.git net: remove unnecessary includes from net/flow.h This file is included by a lot of other commonly included headers, it doesn't need socket.h or flow_dissector.h. This reduces the size of this file after pre-processing from 28165 to 4663. Signed-off-by: Jakub Kicinski Signed-off-by: David S. Miller --- diff --git a/include/net/flow.h b/include/net/flow.h index 2f0da4f0318b5..bb8651a6eaa7c 100644 --- a/include/net/flow.h +++ b/include/net/flow.h @@ -8,12 +8,13 @@ #ifndef _NET_FLOW_H #define _NET_FLOW_H -#include #include #include -#include +#include #include +struct flow_keys; + /* * ifindex generation is per-net namespace, and loopback is * always the 1st device in ns (see net_dev_init), thus any