[PATCH] net: skbuff.h: drop unneeded <linux/slab.h>

From: Randy Dunlap
Date: Sun Jun 03 2018 - 00:40:43 EST


From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

<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@xxxxxxxxxxxxx>
---
include/linux/skbuff.h | 2 --
1 file changed, 2 deletions(-)

--- lnx.orig/include/linux/skbuff.h
+++ lnx.next/include/linux/skbuff.h
@@ -852,8 +852,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