[PATCH][2.2.2 clean] Eradicate duplicate #includes

John Bley (jbb6@acpub.duke.edu)
Sun, 28 Feb 1999 03:16:32 -0500 (EST)


[I'd appreciate CCs, not a linux-kernel subscriber]

This patch removes all duplicate #includes, except the ones tainted by
any kind of #ifdef logic, since I don't want to mess with that
ontological argument.
I'm unable to test this patch at the moment, but it is lovingly
handcrafted and each duplicate #include was visually verified.
Why do this?
1) Reduce line count, and therefore perceived complexity.
(50+ #includes removed)
2) Compiles go a *wee* bit faster, maybe.
3) I'm anal.

-- 
John Bley - jbb6@acpub.duke.edu
Duke '99 - English/Computer Science
  Since English is a mess, it maps well onto the problem space,
  which is also a mess, which we call reality.     - Larry Wall

diff -Burp linux/drivers/ap1000/apfddi.c linux-patched/drivers/ap1000/apfddi.c --- linux/drivers/ap1000/apfddi.c Fri May 8 03:47:24 1998 +++ linux-patched/drivers/ap1000/apfddi.c Sun Feb 28 02:10:53 1999 @@ -30,7 +30,6 @@ #include <asm/io.h> #include <linux/inet.h> -#include <linux/netdevice.h> #include <linux/etherdevice.h> #include <linux/skbuff.h> #include <net/sock.h> diff -Burp linux/drivers/ap1000/ringbuf.c linux-patched/drivers/ap1000/ringbuf.c --- linux/drivers/ap1000/ringbuf.c Mon Aug 24 16:14:10 1998 +++ linux-patched/drivers/ap1000/ringbuf.c Sun Feb 28 02:11:13 1999 @@ -22,7 +22,6 @@ #include <asm/segment.h> #include <asm/io.h> #include <asm/pgtable.h> -#include <asm/segment.h> #include <asm/uaccess.h> #include <asm/ap1000/pgtapmmu.h> diff -Burp linux/drivers/cdrom/cm206.c linux-patched/drivers/cdrom/cm206.c --- linux/drivers/cdrom/cm206.c Mon Sep 14 14:34:01 1998 +++ linux-patched/drivers/cdrom/cm206.c Sun Feb 28 02:47:00 1999 @@ -186,7 +186,6 @@ History: #include <linux/mm.h> #include <linux/malloc.h> #include <linux/init.h> -#include <linux/interrupt.h> /* #include <linux/ucdrom.h> */ diff -Burp linux/drivers/char/console.c linux-patched/drivers/char/console.c --- linux/drivers/char/console.c Tue Jan 19 13:10:23 1999 +++ linux-patched/drivers/char/console.c Sun Feb 28 02:16:10 1999 @@ -85,7 +85,6 @@ #include <linux/selection.h> #include <linux/console_struct.h> #include <linux/kbd_kern.h> -#include <linux/vt_kern.h> #include <linux/consolemap.h> #include <linux/timer.h> #include <linux/interrupt.h> diff -Burp linux/drivers/char/epca.c linux-patched/drivers/char/epca.c --- linux/drivers/char/epca.c Sat Jan 9 22:16:43 1999 +++ linux-patched/drivers/char/epca.c Sun Feb 28 02:16:36 1999 @@ -83,7 +83,6 @@ #include <linux/string.h> #include <linux/fcntl.h> #include <linux/ptrace.h> -#include <linux/major.h> #include <linux/ioport.h> #ifdef MODULE diff -Burp linux/drivers/char/pc_keyb.c linux-patched/drivers/char/pc_keyb.c --- linux/drivers/char/pc_keyb.c Sun Feb 7 03:23:04 1999 +++ linux-patched/drivers/char/pc_keyb.c Sun Feb 28 02:17:18 1999 @@ -38,7 +38,6 @@ #include <asm/uaccess.h> #include <asm/irq.h> #include <asm/system.h> -#include <asm/irq.h> /* Some configuration switches are present in the include file... */ diff -Burp linux/drivers/char/pcxx.c linux-patched/drivers/char/pcxx.c --- linux/drivers/char/pcxx.c Sun Jan 17 21:28:06 1999 +++ linux-patched/drivers/char/pcxx.c Sun Feb 28 02:17:52 1999 @@ -68,7 +68,6 @@ #include <linux/serial.h> #include <linux/tty_driver.h> #include <linux/malloc.h> -#include <linux/string.h> #include <linux/init.h> #include <linux/version.h> diff -Burp linux/drivers/char/rocket.c linux-patched/drivers/char/rocket.c --- linux/drivers/char/rocket.c Thu Nov 5 12:58:43 1998 +++ linux-patched/drivers/char/rocket.c Sun Feb 28 02:18:16 1999 @@ -80,7 +80,6 @@ #include <linux/string.h> #include <linux/fcntl.h> #include <linux/ptrace.h> -#include <linux/major.h> #include <linux/ioport.h> #ifdef ENABLE_PCI #include <linux/pci.h> diff -Burp linux/drivers/char/tpqic02.c linux-patched/drivers/char/tpqic02.c --- linux/drivers/char/tpqic02.c Wed Dec 23 12:44:41 1998 +++ linux-patched/drivers/char/tpqic02.c Sun Feb 28 02:19:04 1999 @@ -75,7 +75,6 @@ #include <linux/config.h> -#include <linux/module.h> #include <linux/sched.h> #include <linux/timer.h> #include <linux/fs.h> diff -Burp linux/drivers/fc4/soc.c linux-patched/drivers/fc4/soc.c --- linux/drivers/fc4/soc.c Wed Dec 16 16:39:11 1998 +++ linux-patched/drivers/fc4/soc.c Sun Feb 28 02:21:44 1999 @@ -44,7 +44,6 @@ static char *version = #include <asm/openprom.h> #include <asm/oplib.h> #include <asm/auxio.h> -#include <asm/system.h> #include <asm/pgtable.h> #include <asm/irq.h> diff -Burp linux/drivers/net/bsd_comp.c linux-patched/drivers/net/bsd_comp.c --- linux/drivers/net/bsd_comp.c Tue Feb 10 15:56:44 1998 +++ linux-patched/drivers/net/bsd_comp.c Sun Feb 28 02:26:46 1999 @@ -70,7 +70,6 @@ #include <linux/vmalloc.h> #include <linux/tty.h> #include <linux/errno.h> -#include <linux/sched.h> /* to get the struct task_struct */ #include <linux/string.h> /* used in new tty drivers */ #include <linux/signal.h> /* used in new tty drivers */ diff -Burp linux/drivers/net/hamradio/baycom_epp.c linux-patched/drivers/net/hamradio/baycom_epp.c --- linux/drivers/net/hamradio/baycom_epp.c Mon Feb 1 13:41:47 1999 +++ linux-patched/drivers/net/hamradio/baycom_epp.c Sun Feb 28 02:24:54 1999 @@ -48,7 +48,6 @@ #include <linux/string.h> #include <linux/parport.h> #include <linux/bitops.h> -#include <linux/sched.h> #include <asm/system.h> #include <asm/io.h> #include <asm/processor.h> diff -Burp linux/drivers/net/ibmtr.c linux-patched/drivers/net/ibmtr.c --- linux/drivers/net/ibmtr.c Mon Jan 25 01:04:02 1999 +++ linux-patched/drivers/net/ibmtr.c Sun Feb 28 02:27:59 1999 @@ -128,11 +128,9 @@ static char mcchannelid[] = { #include <linux/kernel.h> #include <linux/sched.h> #include <linux/errno.h> -#include <linux/sched.h> #include <linux/timer.h> #include <linux/in.h> #include <linux/ioport.h> -#include <linux/errno.h> #include <linux/string.h> #include <linux/skbuff.h> #include <linux/interrupt.h> diff -Burp linux/drivers/net/irda/pc87108.c linux-patched/drivers/net/irda/pc87108.c --- linux/drivers/net/irda/pc87108.c Wed Jan 20 14:05:33 1999 +++ linux-patched/drivers/net/irda/pc87108.c Sun Feb 28 02:25:51 1999 @@ -50,7 +50,6 @@ #include <linux/ioport.h> #include <linux/delay.h> #include <linux/malloc.h> -#include <linux/delay.h> #include <linux/init.h> #include <asm/io.h> diff -Burp linux/drivers/net/myri_sbus.c linux-patched/drivers/net/myri_sbus.c --- linux/drivers/net/myri_sbus.c Mon Jul 27 02:35:56 1998 +++ linux-patched/drivers/net/myri_sbus.c Sun Feb 28 02:28:27 1999 @@ -34,7 +34,6 @@ static char *version = #include <asm/openprom.h> #include <asm/oplib.h> #include <asm/auxio.h> -#include <asm/system.h> #include <asm/pgtable.h> #include <asm/irq.h> diff -Burp linux/drivers/net/ne2.c linux-patched/drivers/net/ne2.c --- linux/drivers/net/ne2.c Thu Jan 7 12:21:53 1999 +++ linux-patched/drivers/net/ne2.c Sun Feb 28 02:28:51 1999 @@ -75,7 +75,6 @@ static const char *version = "ne2.c:v0.9 #include <asm/dma.h> #include <linux/errno.h> #include <linux/init.h> -#include <linux/ioport.h> #include <linux/mca.h> #include <linux/netdevice.h> diff -Burp linux/drivers/net/ppp.c linux-patched/drivers/net/ppp.c --- linux/drivers/net/ppp.c Thu Feb 18 19:29:30 1999 +++ linux-patched/drivers/net/ppp.c Sun Feb 28 02:29:17 1999 @@ -61,7 +61,6 @@ #include <linux/malloc.h> #include <linux/tty.h> #include <linux/errno.h> -#include <linux/sched.h> /* to get the struct task_struct */ #include <linux/string.h> /* used in new tty drivers */ #include <linux/signal.h> /* used in new tty drivers */ #include <asm/system.h> diff -Burp linux/drivers/net/ppp_deflate.c linux-patched/drivers/net/ppp_deflate.c --- linux/drivers/net/ppp_deflate.c Fri Mar 27 20:45:16 1998 +++ linux-patched/drivers/net/ppp_deflate.c Sun Feb 28 02:29:28 1999 @@ -43,7 +43,6 @@ #include <linux/malloc.h> #include <linux/vmalloc.h> #include <linux/errno.h> -#include <linux/sched.h> /* to get the struct task_struct */ #include <linux/string.h> /* used in new tty drivers */ #include <linux/signal.h> /* used in new tty drivers */ diff -Burp linux/drivers/net/shaper.c linux-patched/drivers/net/shaper.c --- linux/drivers/net/shaper.c Fri Nov 13 13:29:44 1998 +++ linux-patched/drivers/net/shaper.c Sun Feb 28 02:29:53 1999 @@ -59,7 +59,6 @@ #include <linux/sched.h> #include <linux/ptrace.h> #include <linux/fcntl.h> -#include <linux/sched.h> #include <linux/mm.h> #include <linux/malloc.h> #include <linux/string.h> diff -Burp linux/drivers/net/smc9194.c linux-patched/drivers/net/smc9194.c --- linux/drivers/net/smc9194.c Tue Feb 10 15:56:45 1998 +++ linux-patched/drivers/net/smc9194.c Sun Feb 28 02:30:21 1999 @@ -65,7 +65,6 @@ static const char *version = #include <linux/in.h> #include <linux/malloc.h> #include <linux/string.h> -#include <linux/ioport.h> #include <linux/init.h> #include <asm/bitops.h> #include <asm/io.h> diff -Burp linux/drivers/net/sunhme.c linux-patched/drivers/net/sunhme.c --- linux/drivers/net/sunhme.c Mon Nov 16 13:37:28 1998 +++ linux-patched/drivers/net/sunhme.c Sun Feb 28 02:30:59 1999 @@ -35,7 +35,6 @@ static char *version = #include <asm/openprom.h> #include <asm/oplib.h> #include <asm/auxio.h> -#include <asm/system.h> #include <asm/pgtable.h> #include <asm/irq.h> #ifndef __sparc_v9__ diff -Burp linux/drivers/net/sunqe.c linux-patched/drivers/net/sunqe.c --- linux/drivers/net/sunqe.c Mon Jul 27 02:35:56 1998 +++ linux-patched/drivers/net/sunqe.c Sun Feb 28 02:31:15 1999 @@ -36,7 +36,6 @@ static char *version = #include <asm/openprom.h> #include <asm/oplib.h> #include <asm/auxio.h> -#include <asm/system.h> #include <asm/pgtable.h> #include <asm/irq.h> diff -Burp linux/drivers/sbus/sbus.c linux-patched/drivers/sbus/sbus.c --- linux/drivers/sbus/sbus.c Tue Oct 27 12:52:21 1998 +++ linux-patched/drivers/sbus/sbus.c Sun Feb 28 02:32:24 1999 @@ -8,7 +8,6 @@ #include <linux/malloc.h> #include <linux/config.h> #include <linux/init.h> -#include <linux/malloc.h> #include <linux/pci.h> #include <asm/system.h> diff -Burp linux/drivers/scsi/megaraid.c linux-patched/drivers/scsi/megaraid.c --- linux/drivers/scsi/megaraid.c Sat Jan 9 22:16:43 1999 +++ linux-patched/drivers/scsi/megaraid.c Sun Feb 28 02:34:22 1999 @@ -90,9 +90,7 @@ MODULE_DESCRIPTION("AMI MegaRAID driver" #include <linux/tqueue.h> #include <linux/interrupt.h> -#include <linux/sched.h> #include <linux/stat.h> -#include <linux/malloc.h> /* for kmalloc() */ #if LINUX_VERSION_CODE < 0x20100 #include <linux/bios32.h> #else diff -Burp linux/drivers/scsi/ppa.c linux-patched/drivers/scsi/ppa.c --- linux/drivers/scsi/ppa.c Sat Jan 9 22:16:43 1999 +++ linux-patched/drivers/scsi/ppa.c Sun Feb 28 02:34:54 1999 @@ -48,7 +48,6 @@ typedef struct { } #include "ppa.h" -#include <linux/parport.h> #define NO_HOSTS 4 static ppa_struct ppa_hosts[NO_HOSTS] = diff -Burp linux/drivers/sound/sound_core.c linux-patched/drivers/sound/sound_core.c --- linux/drivers/sound/sound_core.c Sat Feb 6 15:46:21 1999 +++ linux-patched/drivers/sound/sound_core.c Sun Feb 28 02:36:40 1999 @@ -39,7 +39,6 @@ #include <linux/malloc.h> #include <linux/types.h> #include <linux/kernel.h> -#include <linux/malloc.h> #include <linux/fs.h> #include <linux/sound.h> #include <linux/major.h> diff -Burp linux/fs/affs/inode.c linux-patched/fs/affs/inode.c --- linux/fs/affs/inode.c Sat Feb 6 15:46:21 1999 +++ linux-patched/fs/affs/inode.c Sun Feb 28 01:49:50 1999 @@ -21,7 +21,6 @@ #include <linux/mm.h> #include <linux/string.h> #include <linux/locks.h> -#include <linux/errno.h> #include <linux/genhd.h> #include <linux/amigaffs.h> #include <linux/major.h> diff -Burp linux/fs/affs/super.c linux-patched/fs/affs/super.c --- linux/fs/affs/super.c Wed Jun 24 17:30:09 1998 +++ linux-patched/fs/affs/super.c Sun Feb 28 01:48:42 1999 @@ -22,7 +22,6 @@ #include <linux/mm.h> #include <linux/string.h> #include <linux/locks.h> -#include <linux/errno.h> #include <linux/genhd.h> #include <linux/amigaffs.h> #include <linux/major.h> diff -Burp linux/fs/coda/inode.c linux-patched/fs/coda/inode.c --- linux/fs/coda/inode.c Fri Dec 18 15:45:00 1998 +++ linux-patched/fs/coda/inode.c Sun Feb 28 01:51:04 1999 @@ -23,9 +23,6 @@ #include <linux/fs.h> #include <linux/stat.h> -#include <linux/errno.h> -#include <linux/locks.h> -#include <linux/string.h> #include <asm/uaccess.h> #include <linux/vmalloc.h> #include <asm/segment.h> diff -Burp linux/fs/coda/upcall.c linux-patched/fs/coda/upcall.c --- linux/fs/coda/upcall.c Thu Jan 7 16:40:57 1999 +++ linux-patched/fs/coda/upcall.c Sun Feb 28 01:50:29 1999 @@ -30,7 +30,6 @@ #include <linux/string.h> #include <asm/uaccess.h> #include <linux/vmalloc.h> -#include <asm/segment.h> #include <linux/coda.h> #include <linux/coda_linux.h> diff -Burp linux/fs/isofs/file.c linux-patched/fs/isofs/file.c --- linux/fs/isofs/file.c Mon Aug 24 16:02:44 1998 +++ linux-patched/fs/isofs/file.c Sun Feb 28 01:52:02 1999 @@ -16,7 +16,6 @@ #include <linux/stat.h> #include <linux/locks.h> #include <linux/fs.h> -#include <linux/iso_fs.h> /* * We have mostly NULLs here: the current defaults are OK for diff -Burp linux/fs/minix/file.c linux-patched/fs/minix/file.c --- linux/fs/minix/file.c Mon Aug 24 16:02:44 1998 +++ linux-patched/fs/minix/file.c Sun Feb 28 01:52:37 1999 @@ -25,7 +25,6 @@ #define MAX(a,b) (((a)>(b))?(a):(b)) #include <linux/fs.h> -#include <linux/minix_fs.h> static ssize_t minix_file_write(struct file *, const char *, size_t, loff_t *); diff -Burp linux/fs/ncpfs/dir.c linux-patched/fs/ncpfs/dir.c --- linux/fs/ncpfs/dir.c Wed Dec 2 01:46:46 1998 +++ linux-patched/fs/ncpfs/dir.c Sun Feb 28 01:53:16 1999 @@ -18,7 +18,6 @@ #include <linux/mm.h> #include <asm/uaccess.h> #include <asm/byteorder.h> -#include <linux/errno.h> #include <linux/locks.h> #include <linux/ncp_fs.h> diff -Burp linux/fs/qnx4/file.c linux-patched/fs/qnx4/file.c --- linux/fs/qnx4/file.c Thu Nov 12 14:44:09 1998 +++ linux-patched/fs/qnx4/file.c Sun Feb 28 01:54:31 1999 @@ -33,8 +33,6 @@ #define MIN(a,b) (((a)<(b))?(a):(b)) #define MAX(a,b) (((a)>(b))?(a):(b)) -#include <linux/fs.h> -#include <linux/qnx4_fs.h> static int qnx4_readpage(struct file *file, struct page *page); diff -Burp linux/fs/smbfs/cache.c linux-patched/fs/smbfs/cache.c --- linux/fs/smbfs/cache.c Mon Nov 24 13:30:40 1997 +++ linux-patched/fs/smbfs/cache.c Sun Feb 28 01:55:08 1999 @@ -12,7 +12,6 @@ #include <linux/errno.h> #include <linux/kernel.h> #include <linux/mm.h> -#include <linux/errno.h> #include <linux/dirent.h> #include <linux/smb_fs.h> diff -Burp linux/fs/sysv/file.c linux-patched/fs/sysv/file.c --- linux/fs/sysv/file.c Mon Aug 24 16:02:44 1998 +++ linux-patched/fs/sysv/file.c Sun Feb 28 01:55:30 1999 @@ -30,8 +30,6 @@ #define MIN(a,b) (((a)<(b))?(a):(b)) #define MAX(a,b) (((a)>(b))?(a):(b)) -#include <linux/fs.h> -#include <linux/sysv_fs.h> static ssize_t sysv_file_write(struct file *, const char *, size_t, loff_t *); diff -Burp linux/fs/umsdos/file.c linux-patched/fs/umsdos/file.c --- linux/fs/umsdos/file.c Fri Sep 11 14:26:56 1998 +++ linux-patched/fs/umsdos/file.c Sun Feb 28 01:56:13 1999 @@ -13,7 +13,6 @@ #include <linux/errno.h> #include <linux/fcntl.h> #include <linux/stat.h> -#include <linux/msdos_fs.h> #include <linux/umsdos_fs.h> #include <asm/uaccess.h> diff -Burp linux/kernel/sysctl.c linux-patched/kernel/sysctl.c --- linux/kernel/sysctl.c Sat Feb 6 15:22:24 1999 +++ linux-patched/kernel/sysctl.c Sun Feb 28 01:39:52 1999 @@ -18,7 +18,6 @@ #include <linux/proc_fs.h> #include <linux/ctype.h> #include <linux/utsname.h> -#include <linux/swapctl.h> #include <linux/smp_lock.h> #include <linux/init.h> diff -Burp linux/net/802/tr.c linux-patched/net/802/tr.c --- linux/net/802/tr.c Wed Dec 16 16:35:50 1998 +++ linux-patched/net/802/tr.c Sun Feb 28 01:59:17 1999 @@ -30,7 +30,6 @@ #include <linux/trdevice.h> #include <linux/skbuff.h> #include <linux/errno.h> -#include <linux/string.h> #include <linux/timer.h> #include <linux/net.h> #include <linux/proc_fs.h> diff -Burp linux/net/bridge/br.c linux-patched/net/bridge/br.c --- linux/net/bridge/br.c Thu Jan 7 12:25:03 1999 +++ linux-patched/net/bridge/br.c Sun Feb 28 02:00:20 1999 @@ -63,7 +63,6 @@ #include <linux/net.h> #include <linux/inet.h> #include <linux/netdevice.h> -#include <linux/string.h> #include <linux/skbuff.h> #include <linux/if_arp.h> #include <linux/ip.h> diff -Burp linux/net/core/scm.c linux-patched/net/core/scm.c --- linux/net/core/scm.c Tue Oct 27 12:57:19 1998 +++ linux-patched/net/core/scm.c Sun Feb 28 02:00:51 1999 @@ -27,7 +27,6 @@ #include <asm/uaccess.h> #include <linux/inet.h> -#include <linux/netdevice.h> #include <net/ip.h> #include <net/protocol.h> #include <net/rarp.h> diff -Burp linux/net/econet/econet.c linux-patched/net/econet/econet.c --- linux/net/econet/econet.c Mon Nov 16 18:09:36 1998 +++ linux-patched/net/econet/econet.c Sun Feb 28 02:01:35 1999 @@ -44,7 +44,6 @@ #include <net/udp.h> #include <net/ip.h> #include <asm/spinlock.h> -#include <linux/inetdevice.h> static struct proto_ops econet_ops; static struct sock *econet_sklist; diff -Burp linux/net/ipv4/icmp.c linux-patched/net/ipv4/icmp.c --- linux/net/ipv4/icmp.c Thu Feb 18 22:15:41 1999 +++ linux-patched/net/ipv4/icmp.c Sun Feb 28 02:03:12 1999 @@ -269,7 +269,6 @@ #include <net/tcp.h> #include <net/udp.h> #include <net/raw.h> -#include <net/snmp.h> #include <linux/skbuff.h> #include <net/sock.h> #include <linux/errno.h> diff -Burp linux/net/ipv6/raw.c linux-patched/net/ipv6/raw.c --- linux/net/ipv6/raw.c Mon Nov 16 13:39:27 1998 +++ linux-patched/net/ipv6/raw.c Sun Feb 28 02:03:54 1999 @@ -39,8 +39,6 @@ #include <net/rawv6.h> -#include <asm/uaccess.h> - struct sock *raw_v6_htable[RAWV6_HTABLE_SIZE]; static void raw_v6_hash(struct sock *sk) diff -Burp linux/net/ipv6/route.c linux-patched/net/ipv6/route.c --- linux/net/ipv6/route.c Sun Oct 4 13:19:40 1998 +++ linux-patched/net/ipv6/route.c Sun Feb 28 02:04:17 1999 @@ -37,7 +37,6 @@ #include <net/ndisc.h> #include <net/addrconf.h> #include <net/tcp.h> -#include <linux/netlink.h> #include <linux/rtnetlink.h> #include <asm/uaccess.h> diff -Burp linux/net/irda/irlap_frame.c linux-patched/net/irda/irlap_frame.c --- linux/net/irda/irlap_frame.c Wed Jan 20 14:05:33 1999 +++ linux-patched/net/irda/irlap_frame.c Sun Feb 28 02:04:51 1999 @@ -26,7 +26,6 @@ #include <linux/skbuff.h> #include <net/sock.h> -#include <linux/skbuff.h> #include <linux/if.h> #include <linux/if_ether.h> #include <linux/netdevice.h> diff -Burp linux/net/netlink/af_netlink.c linux-patched/net/netlink/af_netlink.c --- linux/net/netlink/af_netlink.c Sat Nov 7 14:00:33 1998 +++ linux-patched/net/netlink/af_netlink.c Sun Feb 28 02:05:24 1999 @@ -25,7 +25,6 @@ #include <linux/un.h> #include <linux/fcntl.h> #include <linux/termios.h> -#include <linux/socket.h> #include <linux/sockios.h> #include <linux/net.h> #include <linux/fs.h> diff -Burp linux/net/sched/sch_cbq.c linux-patched/net/sched/sch_cbq.c --- linux/net/sched/sch_cbq.c Sun Oct 4 13:19:40 1998 +++ linux-patched/net/sched/sch_cbq.c Sun Feb 28 02:06:37 1999 @@ -30,7 +30,6 @@ #include <linux/netdevice.h> #include <linux/etherdevice.h> #include <linux/notifier.h> -#include <linux/module.h> #include <net/ip.h> #include <net/route.h> #include <linux/skbuff.h> diff -Burp linux/net/sched/sch_sfq.c linux-patched/net/sched/sch_sfq.c --- linux/net/sched/sch_sfq.c Thu May 14 13:26:23 1998 +++ linux-patched/net/sched/sch_sfq.c Sun Feb 28 02:07:07 1999 @@ -14,7 +14,6 @@ #include <asm/uaccess.h> #include <asm/system.h> #include <asm/bitops.h> -#include <linux/module.h> #include <linux/types.h> #include <linux/kernel.h> #include <linux/sched.h> diff -Burp linux/net/unix/af_unix.c linux-patched/net/unix/af_unix.c --- linux/net/unix/af_unix.c Sun Jan 17 13:00:00 1999 +++ linux-patched/net/unix/af_unix.c Sun Feb 28 02:07:55 1999 @@ -77,7 +77,6 @@ #include <linux/un.h> #include <linux/fcntl.h> #include <linux/termios.h> -#include <linux/socket.h> #include <linux/sockios.h> #include <linux/net.h> #include <linux/in.h>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/