summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2018-06-03 07:40:19 +0300
committerDavid S. Miller <davem@davemloft.net>2018-06-05 00:02:06 +0300
commit1f4c74132140c184b8cbcf0a7298beda1d3681de (patch)
tree40ed075c2acf4e3d8c4c70686bcb54b5f7656106 /include/linux
parent40434a670f66f797b3a40603a286def35337dd4f (diff)
downloadlinux-1f4c74132140c184b8cbcf0a7298beda1d3681de.tar.xz
net: skbuff.h: drop unneeded <linux/slab.h>
<linux/skbuff.h> does not use nor need <linux/slab.h>, so drop this header file from skbuff.h. <linux/skbuff.h> is currently #included in around 1200 C source and header files, making it the 31st most-used header file. Build tested [allmodconfig] on 20 arch-es. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/skbuff.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 693564a9a979..164cdedf6012 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -854,8 +854,6 @@ struct sk_buff {
/*
* Handling routines are only of interest to the kernel
*/
-#include <linux/slab.h>
-
#define SKB_ALLOC_FCLONE 0x01
#define SKB_ALLOC_RX 0x02