Commit acf658db authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

[PATCH] janitor: cleanup includes in fs/

From: Randy Hron <rwhron@earthlink.net>

Remove duplicate #includes in fs/
Remove version.h includes where they aren't necessary.
Test compiled on 2.6.0-test5-bk9.
parent e6a5383f
......@@ -25,7 +25,6 @@
#include <linux/slab.h>
#include <linux/timer.h>
#include <linux/aio.h>
#include <linux/module.h>
#include <linux/highmem.h>
#include <linux/workqueue.h>
......
......@@ -24,7 +24,6 @@
#include <linux/binfmts.h>
#include <linux/personality.h>
#include <linux/init.h>
#include <linux/ptrace.h>
#include <asm/system.h>
#include <asm/uaccess.h>
......
......@@ -11,7 +11,6 @@
#include <linux/string.h>
#include <linux/major.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/smp_lock.h>
......
......@@ -27,7 +27,6 @@
#include <linux/ioctl32.h>
#include <linux/init.h>
#include <linux/sockios.h> /* for SIOCDEVPRIVATE */
#include <linux/fs.h>
#include <linux/smp_lock.h>
#include <linux/ctype.h>
#include <linux/module.h>
......
......@@ -56,12 +56,10 @@
#include <linux/elevator.h>
#include <linux/rtc.h>
#include <linux/pci.h>
#include <linux/rtc.h>
#include <linux/module.h>
#include <linux/serial.h>
#include <linux/reiserfs_fs.h>
#include <linux/if_tun.h>
#include <linux/dirent.h>
#include <linux/ctype.h>
#include <linux/ioctl32.h>
#include <linux/ncp_fs.h>
......
......@@ -31,7 +31,6 @@
#include <linux/smp_lock.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/suspend.h>
#include <linux/pagemap.h>
#include <asm/uaccess.h>
......
......@@ -64,7 +64,6 @@
#include <linux/pagemap.h>
#include <asm/semaphore.h>
#include <asm/byteorder.h>
#include <linux/version.h>
#include <linux/smp_lock.h>
#include <linux/time.h>
#include <linux/ctype.h>
......
......@@ -20,7 +20,6 @@
#include <linux/highmem.h>
#include <linux/crc32.h>
#include <linux/jffs2.h>
#include <linux/version.h>
#include "nodelist.h"
extern int generic_file_open(struct inode *, struct file *) __attribute__((weak));
......
......@@ -20,7 +20,6 @@
#include <linux/mtd/mtd.h>
#include <linux/pagemap.h>
#include <linux/slab.h>
#include <linux/version.h>
#include <linux/vfs.h>
#include "nodelist.h"
......
......@@ -15,7 +15,6 @@
#include <linux/init.h>
#include <linux/module.h>
#include <linux/smp_lock.h>
#include <linux/init.h>
#include <asm/system.h>
#include <asm/uaccess.h>
......
......@@ -20,7 +20,6 @@
#include <linux/netdevice.h>
#include <linux/smp_lock.h>
#include <linux/workqueue.h>
#include <linux/net.h>
#include <net/scm.h>
#include <net/ip.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment