mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
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>
This commit is contained in:
parent
40434a670f
commit
1f4c741321
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user