Commit 1f4c7413 authored by Randy Dunlap's avatar Randy Dunlap Committed by David S. Miller
Browse files

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: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 40434a67
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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