This removes many unneeded header files in net/core/filter.c Signed-off-by: Kris Katterjohn <[EMAIL PROTECTED]>
This is a diff against -rc1. This compiles fine with no warnings and seems to run perfectly fine. Are there any headers I'm deleting that _should_ be there, but not necessarily required for a clean compilation? If so, let me know and I'll redo the patch. Thanks! --- x/net/core/filter.c 2006-01-17 10:54:42.000000000 -0600 +++ y/net/core/filter.c 2006-01-17 10:55:01.000000000 -0600 @@ -16,24 +16,9 @@ * Kris Katterjohn - Added many additional checks in sk_chk_filter() */ -#include <linux/module.h> -#include <linux/types.h> -#include <linux/sched.h> -#include <linux/mm.h> -#include <linux/fcntl.h> -#include <linux/socket.h> -#include <linux/in.h> -#include <linux/inet.h> -#include <linux/netdevice.h> -#include <linux/if_packet.h> -#include <net/ip.h> -#include <net/protocol.h> #include <linux/skbuff.h> #include <net/sock.h> #include <linux/errno.h> -#include <linux/timer.h> -#include <asm/system.h> -#include <asm/uaccess.h> #include <linux/filter.h> /* No hurry in this branch */ - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html