From: Bernardo Innocenti <bernie@develer.com>
Subject: [PATCH] Don't #include a dozen unneeded headers in net/ipv4/utils.c
Date: Wed, 25 Jun 2003 17:48:46 +0200
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Marcelo Tosatti <marcelo@conectiva.com.br>

Hello Linus & Marcelo,

Trivial patch to strip a ton of unneeded headers from net/ipv4/utils.c.
I wonder how it could happen ;-)

Applies cleanly to both 2.4.21 and 2.5.73.

--- linux-2.5.73.orig/net/ipv4/utils.c	2003-06-22 20:32:44.000000000 +0200
+++ linux-2.5.73/net/ipv4/utils.c	2003-06-24 01:03:44.000000000 +0200
@@ -21,25 +21,8 @@
  *		2 of the License, or (at your option) any later version.
  */
 
-#include <asm/uaccess.h>
-#include <asm/system.h>
 #include <linux/types.h>
-#include <linux/kernel.h>
-#include <linux/sched.h>
-#include <linux/string.h>
-#include <linux/mm.h>
-#include <linux/socket.h>
-#include <linux/in.h>
-#include <linux/errno.h>
-#include <linux/stat.h>
-#include <stdarg.h>
-#include <linux/inet.h>
-#include <linux/netdevice.h>
-#include <linux/etherdevice.h>
-#include <net/ip.h>
-#include <net/protocol.h>
-#include <net/tcp.h>
-#include <linux/skbuff.h>
+#include <asm/byteorder.h>
 
 
 /*

--
  // Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/  http://www.develer.com/

Please don't send Word attachments -
 http://www.gnu.org/philosophy/no-word-attachments.html

