From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Jones Subject: remove unnecessary config.h includes from drivers/net/ Date: Thu, 10 Aug 2006 21:37:13 -0400 Message-ID: <20060811013713.GA17746@redhat.com> References: <20060810022116.GB23634@redhat.com> <20060809.210438.110013064.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, jgarzik@pobox.com Return-path: Received: from mx1.redhat.com ([66.187.233.31]:12417 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S1750810AbWHKBoL (ORCPT ); Thu, 10 Aug 2006 21:44:11 -0400 To: David Miller Content-Disposition: inline In-Reply-To: <20060809.210438.110013064.davem@davemloft.net> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Wed, Aug 09, 2006 at 09:04:38PM -0700, David Miller wrote: > From: Dave Jones > Date: Wed, 9 Aug 2006 22:21:16 -0400 > > > config.h is automatically included by kbuild these days. > > > > Signed-off-by: Dave Jones > > Applied to net-2.6.19, thanks Dave. Here's a similar patch that does the same removals for drivers/net/ Signed-off-by: Dave Jones --- linux-2.6.17.noarch/drivers/net/irda/mcs7780.c~ 2006-08-10 21:35:23.000000000 -0400 +++ linux-2.6.17.noarch/drivers/net/irda/mcs7780.c 2006-08-10 21:35:25.000000000 -0400 @@ -45,7 +45,6 @@ #include #include -#include #include #include #include --- linux-2.6.17.noarch/drivers/net/irda/w83977af_ir.c~ 2006-08-10 21:35:28.000000000 -0400 +++ linux-2.6.17.noarch/drivers/net/irda/w83977af_ir.c 2006-08-10 21:35:30.000000000 -0400 @@ -40,7 +40,6 @@ ********************************************************************/ #include -#include #include #include #include --- linux-2.6.17.noarch/drivers/net/smc911x.c~ 2006-08-10 21:35:34.000000000 -0400 +++ linux-2.6.17.noarch/drivers/net/smc911x.c 2006-08-10 21:35:37.000000000 -0400 @@ -55,8 +55,6 @@ static const char version[] = ) #endif - -#include #include #include #include --- linux-2.6.17.noarch/drivers/net/netx-eth.c~ 2006-08-10 21:35:41.000000000 -0400 +++ linux-2.6.17.noarch/drivers/net/netx-eth.c 2006-08-10 21:35:42.000000000 -0400 @@ -17,7 +17,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include #include #include #include --- linux-2.6.17.noarch/drivers/net/wan/cycx_main.c~ 2006-08-10 21:35:45.000000000 -0400 +++ linux-2.6.17.noarch/drivers/net/wan/cycx_main.c 2006-08-10 21:35:48.000000000 -0400 @@ -40,7 +40,6 @@ * 1998/08/08 acme Initial version. */ -#include /* OS configuration options */ #include /* offsetof(), etc. */ #include /* return codes */ #include /* inline memset(), etc. */ --- linux-2.6.17.noarch/drivers/net/wan/sdla.c~ 2006-08-10 21:35:51.000000000 -0400 +++ linux-2.6.17.noarch/drivers/net/wan/sdla.c 2006-08-10 21:35:53.000000000 -0400 @@ -32,7 +32,6 @@ * 2 of the License, or (at your option) any later version. */ -#include /* for CONFIG_DLCI_MAX */ #include #include #include --- linux-2.6.17.noarch/drivers/net/wan/dlci.c~ 2006-08-10 21:35:57.000000000 -0400 +++ linux-2.6.17.noarch/drivers/net/wan/dlci.c 2006-08-10 21:35:59.000000000 -0400 @@ -28,7 +28,6 @@ * 2 of the License, or (at your option) any later version. */ -#include /* for CONFIG_DLCI_COUNT */ #include #include #include --- linux-2.6.17.noarch/drivers/net/phy/vitesse.c~ 2006-08-10 21:36:02.000000000 -0400 +++ linux-2.6.17.noarch/drivers/net/phy/vitesse.c 2006-08-10 21:36:04.000000000 -0400 @@ -12,7 +12,6 @@ * */ -#include #include #include #include --- linux-2.6.17.noarch/drivers/net/phy/smsc.c~ 2006-08-10 21:36:07.000000000 -0400 +++ linux-2.6.17.noarch/drivers/net/phy/smsc.c 2006-08-10 21:36:08.000000000 -0400 @@ -14,7 +14,6 @@ * */ -#include #include #include #include --- linux-2.6.17.noarch/drivers/net/hp100.c~ 2006-08-10 21:36:12.000000000 -0400 +++ linux-2.6.17.noarch/drivers/net/hp100.c 2006-08-10 21:36:14.000000000 -0400 @@ -111,7 +111,6 @@ #include #include #include -#include /* for CONFIG_PCI */ #include #include #include --- linux-2.6.17.noarch/drivers/net/3c501.c~ 2006-08-10 21:36:18.000000000 -0400 +++ linux-2.6.17.noarch/drivers/net/3c501.c 2006-08-10 21:36:20.000000000 -0400 @@ -120,7 +120,6 @@ static const char version[] = #include #include #include -#include /* for CONFIG_IP_MULTICAST */ #include #include #include -- http://www.codemonkey.org.uk