From: Jakub Kicinski Date: Thu, 26 Jan 2023 07:14:15 +0000 (-0800) Subject: net: skbuff: drop the linux/net.h include X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9a859da287870715a22ce05d6ae377ae8ac79cc3;p=linux.git 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 #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 Signed-off-by: David S. Miller --- diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 4c8492401a101..b93818e11da00 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -23,7 +23,6 @@ #include #include #include -#include #include #include #include