diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-01-26 10:14:15 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-01-27 14:19:46 +0300 |
commit | 9a859da287870715a22ce05d6ae377ae8ac79cc3 (patch) | |
tree | d5ccfbd0b29d7f20e0e0afd0ae7e95695c5349f4 /include/linux/skbuff.h | |
parent | ac62f60619fa5b53144fefdca6d2a219125a0228 (diff) | |
download | linux-9a859da287870715a22ce05d6ae377ae8ac79cc3.tar.xz |
net: skbuff: drop the linux/net.h include
It appears nothing needs it. The kernel builds fine with this
include removed, building an otherwise empty source file with:
#include <linux/skbuff.h>
#ifdef _LINUX_NET_H
#error linux/net.h is back
#endif
works too (meaning net.h is not just pulled in indirectly).
This gives us a slight 0.5% reduction in the pre-processed size
of skbuff.h.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/skbuff.h')
-rw-r--r-- | include/linux/skbuff.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 4c8492401a10..b93818e11da0 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -23,7 +23,6 @@ #include <linux/atomic.h> #include <asm/types.h> #include <linux/spinlock.h> -#include <linux/net.h> #include <linux/textsearch.h> #include <net/checksum.h> #include <linux/rcupdate.h> |