Patchwork qlge: remove duplicated #include

login
register
mail settings
Submitter Huang Weiyi
Date Oct. 12, 2008, 9:23 a.m.
Message ID <20081012171458.F6D4.WEIYI.HUANG@gmail.com>
Download mbox | patch
Permalink /patch/4054/
State Accepted
Delegated to: David Miller
Headers show

Comments

Huang Weiyi - Oct. 12, 2008, 9:23 a.m.
Removed duplicated include <linux/init.h> in files below
  drivers/net/qlge/qlge_ethtool.c
  drivers/net/qlge/qlge_main.c

Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>


--
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
David Miller - Oct. 13, 2008, 4:04 a.m.
From: Huang Weiyi <weiyi.huang@gmail.com>
Date: Sun, 12 Oct 2008 17:23:24 +0800

> Removed duplicated include <linux/init.h> in files below
>   drivers/net/qlge/qlge_ethtool.c
>   drivers/net/qlge/qlge_main.c
> 
> Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>

Applied, thanks.
--
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/qlge/qlge_ethtool.c b/drivers/net/qlge/qlge_ethtool.c
index 6457f8c..b62fbd4 100644
--- a/drivers/net/qlge/qlge_ethtool.c
+++ b/drivers/net/qlge/qlge_ethtool.c
@@ -29,7 +29,6 @@ 
 #include <linux/skbuff.h>
 #include <linux/rtnetlink.h>
 #include <linux/if_vlan.h>
-#include <linux/init.h>
 #include <linux/delay.h>
 #include <linux/mm.h>
 #include <linux/vmalloc.h>

diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c
index 3af822b..297877b 100644
--- a/drivers/net/qlge/qlge_main.c
+++ b/drivers/net/qlge/qlge_main.c
@@ -36,7 +36,6 @@ 
 #include <linux/skbuff.h>
 #include <linux/rtnetlink.h>
 #include <linux/if_vlan.h>
-#include <linux/init.h>
 #include <linux/delay.h>
 #include <linux/mm.h>
 #include <linux/vmalloc.h>