netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: cleanup inclusion
@ 2010-08-02 22:11 Changli Gao
  2010-08-03  5:45 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Changli Gao @ 2010-08-02 22:11 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev, Changli Gao

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

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
----
 net/core/dev.c |    2 --
 1 file changed, 2 deletions(-)
diff --git a/net/core/dev.c b/net/core/dev.c
index 5d1282d..8c663db 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -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>

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: cleanup inclusion
  2010-08-02 22:11 [PATCH] net: cleanup inclusion Changli Gao
@ 2010-08-03  5:45 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-08-03  5:45 UTC (permalink / raw)
  To: xiaosuo; +Cc: netdev

From: Changli Gao <xiaosuo@gmail.com>
Date: Tue,  3 Aug 2010 06:11:41 +0800

> Commit ab95bfe01f9872459c8678572ccadbf646badad0 replaces bridge and macvlan
> hooks in __netif_receive_skb(), so dev.c doesn't need to include their headers.
> 
> Signed-off-by: Changli Gao <xiaosuo@gmail.com>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-03  5:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-02 22:11 [PATCH] net: cleanup inclusion Changli Gao
2010-08-03  5:45 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).