aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/skbuff.h
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2018-06-02 21:40:19 -0700
committerDavid S. Miller <davem@davemloft.net>2018-06-04 17:02:06 -0400
commit1f4c74132140c184b8cbcf0a7298beda1d3681de (patch)
tree40ed075c2acf4e3d8c4c70686bcb54b5f7656106 /include/linux/skbuff.h
parentnet: chelsio: Use zeroing memory allocator instead of allocator/memset (diff)
downloadlinux-dev-1f4c74132140c184b8cbcf0a7298beda1d3681de.tar.xz
linux-dev-1f4c74132140c184b8cbcf0a7298beda1d3681de.zip
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/skbuff.h')
-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