Skip to contentSkip to conversation

net: cleanup inclusion

PATCH Applied Changli Gao 2 participants 2 messages Aug 3, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: cleanup inclusion

Commit ab95bfe01f9872459c8678572ccadbf646badad0 replaces bridge and macvlan hooks in __netif_receive_skb(), so dev.c doesn't need to include their headers.

----

 net/core/dev.c |    2 --
 1 file changed, 2 deletions(-)
net/core/dev.c +0 -2
index 5d1282d..8c663db 100644
@@ -101,8 +101,6 @@
 #include <linux/proc_fs.h>
 #include <linux/seq_file.h>
 #include <linux/stat.h>
-#include <linux/if_bridge.h>
-#include <linux/if_macvlan.h>
 #include <net/dst.h>
 #include <net/pkt_sched.h>
 #include <net/checksum.h>
maintainer Applied
#1 lore raw

From: Changli Gao <[email protected]>
Date: Tue, 3 Aug 2010 06:11:41 +0800

Quoted 4 lines

Commit ab95bfe01f9872459c8678572ccadbf646badad0 replaces bridge and macvlan hooks in __netif_receive_skb(), so dev.c doesn't need to include their headers.

Applied, thanks.