[PATCH 1/2] ext2: remove unused header files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove unused header files, and header files which are included in ext2.h.

Signed-off-by: Sheng Yong <shengyong1@xxxxxxxxxx>
---
 fs/ext2/acl.c   | 4 ----
 fs/ext2/super.c | 1 -
 2 files changed, 5 deletions(-)

diff --git a/fs/ext2/acl.c b/fs/ext2/acl.c
index 27695e6..e2a6f61 100644
--- a/fs/ext2/acl.c
+++ b/fs/ext2/acl.c
@@ -4,10 +4,6 @@
  * Copyright (C) 2001-2003 Andreas Gruenbacher, <agruen@xxxxxxx>
  */
 
-#include <linux/init.h>
-#include <linux/sched.h>
-#include <linux/slab.h>
-#include <linux/fs.h>
 #include "ext2.h"
 #include "xattr.h"
 #include "acl.h"
diff --git a/fs/ext2/super.c b/fs/ext2/super.c
index d0e746e..9b42e0f 100644
--- a/fs/ext2/super.c
+++ b/fs/ext2/super.c
@@ -18,7 +18,6 @@
 
 #include <linux/module.h>
 #include <linux/string.h>
-#include <linux/fs.h>
 #include <linux/slab.h>
 #include <linux/init.h>
 #include <linux/blkdev.h>
-- 
1.8.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux