* remove unnecessary config.h includes from net/
@ 2006-08-10 2:21 Dave Jones
2006-08-10 4:04 ` David Miller
0 siblings, 1 reply; 4+ messages in thread
From: Dave Jones @ 2006-08-10 2:21 UTC (permalink / raw)
To: netdev
config.h is automatically included by kbuild these days.
Signed-off-by: Dave Jones <davej@redhat.com>
--- linux-2.6/net/ipv4/netfilter/ip_conntrack_sip.c~ 2006-08-09 22:18:48.000000000 -0400
+++ linux-2.6/net/ipv4/netfilter/ip_conntrack_sip.c 2006-08-09 22:18:53.000000000 -0400
@@ -8,7 +8,6 @@
* published by the Free Software Foundation.
*/
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/ctype.h>
#include <linux/skbuff.h>
--- linux-2.6/net/ipv4/af_inet.c~ 2006-08-09 22:18:58.000000000 -0400
+++ linux-2.6/net/ipv4/af_inet.c 2006-08-09 22:19:03.000000000 -0400
@@ -67,7 +67,6 @@
* 2 of the License, or (at your option) any later version.
*/
-#include <linux/config.h>
#include <linux/err.h>
#include <linux/errno.h>
#include <linux/types.h>
--- linux-2.6/net/ipv4/ipconfig.c~ 2006-08-09 22:19:07.000000000 -0400
+++ linux-2.6/net/ipv4/ipconfig.c 2006-08-09 22:19:10.000000000 -0400
@@ -31,7 +31,6 @@
* -- Josef Siemes <jsiemes@web.de>, Aug 2002
*/
-#include <linux/config.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/kernel.h>
--- linux-2.6/net/ipv4/raw.c~ 2006-08-09 22:19:14.000000000 -0400
+++ linux-2.6/net/ipv4/raw.c 2006-08-09 22:19:18.000000000 -0400
@@ -38,8 +38,7 @@
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/
-
-#include <linux/config.h>
+
#include <linux/types.h>
#include <asm/atomic.h>
#include <asm/byteorder.h>
--- linux-2.6/net/ipv4/tcp_veno.c~ 2006-08-09 22:19:23.000000000 -0400
+++ linux-2.6/net/ipv4/tcp_veno.c 2006-08-09 22:19:26.000000000 -0400
@@ -9,7 +9,6 @@
* See http://www.ntu.edu.sg/home5/ZHOU0022/papers/CPFu03a.pdf
*/
-#include <linux/config.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/skbuff.h>
--- linux-2.6/net/ipv4/tcp_lp.c~ 2006-08-09 22:19:31.000000000 -0400
+++ linux-2.6/net/ipv4/tcp_lp.c 2006-08-09 22:19:34.000000000 -0400
@@ -31,7 +31,6 @@
* Version: $Id: tcp_lp.c,v 1.22 2006-05-02 18:18:19 hswong3i Exp $
*/
-#include <linux/config.h>
#include <linux/module.h>
#include <net/tcp.h>
--- linux-2.6/net/atm/atm_sysfs.c~ 2006-08-09 22:19:38.000000000 -0400
+++ linux-2.6/net/atm/atm_sysfs.c 2006-08-09 22:19:40.000000000 -0400
@@ -1,6 +1,5 @@
/* ATM driver model support. */
-#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/kobject.h>
--- linux-2.6/net/core/wireless.c~ 2006-08-09 22:19:44.000000000 -0400
+++ linux-2.6/net/core/wireless.c 2006-08-09 22:19:47.000000000 -0400
@@ -72,7 +72,6 @@
/***************************** INCLUDES *****************************/
-#include <linux/config.h> /* Not needed ??? */
#include <linux/module.h>
#include <linux/types.h> /* off_t */
#include <linux/netdevice.h> /* struct ifreq, dev_get_by_name() */
--- linux-2.6/net/core/dev_mcast.c~ 2006-08-09 22:19:52.000000000 -0400
+++ linux-2.6/net/core/dev_mcast.c 2006-08-09 22:19:59.000000000 -0400
@@ -21,8 +21,7 @@
* 2 of the License, or (at your option) any later version.
*/
-#include <linux/config.h>
-#include <linux/module.h>
+#include <linux/module.h>
#include <asm/uaccess.h>
#include <asm/system.h>
#include <linux/bitops.h>
--
http://www.codemonkey.org.uk
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: remove unnecessary config.h includes from net/
2006-08-10 2:21 remove unnecessary config.h includes from net/ Dave Jones
@ 2006-08-10 4:04 ` David Miller
2006-08-11 1:37 ` remove unnecessary config.h includes from drivers/net/ Dave Jones
0 siblings, 1 reply; 4+ messages in thread
From: David Miller @ 2006-08-10 4:04 UTC (permalink / raw)
To: davej; +Cc: netdev
From: Dave Jones <davej@redhat.com>
Date: Wed, 9 Aug 2006 22:21:16 -0400
> config.h is automatically included by kbuild these days.
>
> Signed-off-by: Dave Jones <davej@redhat.com>
Applied to net-2.6.19, thanks Dave.
^ permalink raw reply [flat|nested] 4+ messages in thread
* remove unnecessary config.h includes from drivers/net/
2006-08-10 4:04 ` David Miller
@ 2006-08-11 1:37 ` Dave Jones
2006-08-14 18:00 ` Jeff Garzik
0 siblings, 1 reply; 4+ messages in thread
From: Dave Jones @ 2006-08-11 1:37 UTC (permalink / raw)
To: David Miller; +Cc: netdev, jgarzik
On Wed, Aug 09, 2006 at 09:04:38PM -0700, David Miller wrote:
> From: Dave Jones <davej@redhat.com>
> Date: Wed, 9 Aug 2006 22:21:16 -0400
>
> > config.h is automatically included by kbuild these days.
> >
> > Signed-off-by: Dave Jones <davej@redhat.com>
>
> 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 <davej@redhat.com>
--- 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 <linux/module.h>
#include <linux/moduleparam.h>
-#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/errno.h>
--- 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 <linux/module.h>
-#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/skbuff.h>
--- 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 <linux/config.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
--- 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 <linux/config.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
--- 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 <linux/config.h> /* OS configuration options */
#include <linux/stddef.h> /* offsetof(), etc. */
#include <linux/errno.h> /* return codes */
#include <linux/string.h> /* 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 <linux/config.h> /* for CONFIG_DLCI_MAX */
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
--- 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 <linux/config.h> /* for CONFIG_DLCI_COUNT */
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
--- 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 <linux/config.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mii.h>
--- 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 <linux/config.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mii.h>
--- 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 <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/types.h>
-#include <linux/config.h> /* for CONFIG_PCI */
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/bitops.h>
--- 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 <linux/slab.h>
#include <linux/string.h>
#include <linux/errno.h>
-#include <linux/config.h> /* for CONFIG_IP_MULTICAST */
#include <linux/spinlock.h>
#include <linux/ethtool.h>
#include <linux/delay.h>
--
http://www.codemonkey.org.uk
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: remove unnecessary config.h includes from drivers/net/
2006-08-11 1:37 ` remove unnecessary config.h includes from drivers/net/ Dave Jones
@ 2006-08-14 18:00 ` Jeff Garzik
0 siblings, 0 replies; 4+ messages in thread
From: Jeff Garzik @ 2006-08-14 18:00 UTC (permalink / raw)
To: Dave Jones; +Cc: David Miller, netdev
applied
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-08-14 18:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-10 2:21 remove unnecessary config.h includes from net/ Dave Jones
2006-08-10 4:04 ` David Miller
2006-08-11 1:37 ` remove unnecessary config.h includes from drivers/net/ Dave Jones
2006-08-14 18:00 ` Jeff Garzik
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).