]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
net: skbuff.h: drop unneeded <linux/slab.h>
authorRandy Dunlap <rdunlap@infradead.org>
Sun, 3 Jun 2018 04:40:19 +0000 (21:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jun 2018 21:02:06 +0000 (17:02 -0400)
<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>
include/linux/skbuff.h

index 693564a9a9799df1d54db923904627dffc547879..164cdedf6012c1431c8e3324a5029c2cb1abe141 100644 (file)
@@ -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