Patchwork net: remove two duplicated include

login
register
mail settings
Submitter Jianjun kong
Date March 25, 2009, 3:31 a.m.
Message ID <20090325033132.GA7060@ubuntu>
Download mbox | patch
Permalink /patch/25042/
State Changes Requested
Delegated to: David Miller
Headers show

Comments

Jianjun kong - March 25, 2009, 3:31 a.m.
net: remove two duplicated include

Signed-off-by: Jianjun Kong <jianjun@zeuux.org>
---
 drivers/net/atl1c/atl1c.h |    1 -
 drivers/net/dnet.c        |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
David Miller - March 25, 2009, 6:24 a.m.
From: Jianjun Kong <jianjun@zeuux.org>
Date: Wed, 25 Mar 2009 11:31:32 +0800

> diff --git a/drivers/net/dnet.c b/drivers/net/dnet.c
> index 5c347f7..8a98d40 100644
> --- a/drivers/net/dnet.c
> +++ b/drivers/net/dnet.c
> @@ -21,7 +21,6 @@
>  #include <linux/dma-mapping.h>
>  #include <linux/platform_device.h>
>  #include <linux/phy.h>
> -#include <linux/platform_device.h>
>  
>  #include "dnet.h"
>  
> -- 
> 1.5.6.3
> 

This one is already in the net-next-2.6 tree
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/net/atl1c/atl1c.h b/drivers/net/atl1c/atl1c.h
index ac11b84..e1658ef 100644
--- a/drivers/net/atl1c/atl1c.h
+++ b/drivers/net/atl1c/atl1c.h
@@ -45,7 +45,6 @@ 
 #include <linux/vmalloc.h>
 #include <linux/pagemap.h>
 #include <linux/tcp.h>
-#include <linux/mii.h>
 #include <linux/ethtool.h>
 #include <linux/if_vlan.h>
 #include <linux/workqueue.h>
diff --git a/drivers/net/dnet.c b/drivers/net/dnet.c
index 5c347f7..8a98d40 100644
--- a/drivers/net/dnet.c
+++ b/drivers/net/dnet.c
@@ -21,7 +21,6 @@ 
 #include <linux/dma-mapping.h>
 #include <linux/platform_device.h>
 #include <linux/phy.h>
-#include <linux/platform_device.h>
 
 #include "dnet.h"