From 72b8e0f9fa8aee7e623808af1a5f33b70ebcb2c7 Mon Sep 17 00:00:00 2001 From: Sheng Yong Date: Thu, 2 Apr 2015 23:47:42 -0400 Subject: [PATCH] ext4: remove unused header files Remove unused header files and header files which are included in ext4.h. Signed-off-by: Sheng Yong Signed-off-by: Theodore Ts'o --- fs/ext4/acl.c | 5 ----- fs/ext4/balloc.c | 1 - fs/ext4/bitmap.c | 1 - fs/ext4/block_validity.c | 1 - fs/ext4/dir.c | 2 -- fs/ext4/extents_status.c | 2 -- fs/ext4/file.c | 1 - fs/ext4/fsync.c | 1 - fs/ext4/hash.c | 1 - fs/ext4/ialloc.c | 1 - fs/ext4/inode.c | 2 -- fs/ext4/ioctl.c | 1 - fs/ext4/namei.c | 1 - fs/ext4/page-io.c | 2 -- fs/ext4/super.c | 1 - fs/ext4/symlink.c | 1 - fs/ext4/xattr.c | 1 - 17 files changed, 25 deletions(-) diff --git a/fs/ext4/acl.c b/fs/ext4/acl.c index d40c8dbbb0d6..69b1e73026a5 100644 --- a/fs/ext4/acl.c +++ b/fs/ext4/acl.c @@ -4,11 +4,6 @@ * Copyright (C) 2001-2003 Andreas Gruenbacher, */ -#include -#include -#include -#include -#include #include "ext4_jbd2.h" #include "ext4.h" #include "xattr.h" diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c index 83a6f497c4e0..9fadcf43342d 100644 --- a/fs/ext4/balloc.c +++ b/fs/ext4/balloc.c @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include "ext4.h" diff --git a/fs/ext4/bitmap.c b/fs/ext4/bitmap.c index b610779a958c..4a606afb171f 100644 --- a/fs/ext4/bitmap.c +++ b/fs/ext4/bitmap.c @@ -8,7 +8,6 @@ */ #include -#include #include "ext4.h" unsigned int ext4_count_free(char *bitmap, unsigned int numchars) diff --git a/fs/ext4/block_validity.c b/fs/ext4/block_validity.c index 41eb9dcfac7e..3522340c7a99 100644 --- a/fs/ext4/block_validity.c +++ b/fs/ext4/block_validity.c @@ -16,7 +16,6 @@ #include #include #include -#include #include #include "ext4.h" diff --git a/fs/ext4/dir.c b/fs/ext4/dir.c index c24143ea9c08..9e1e9e7869cb 100644 --- a/fs/ext4/dir.c +++ b/fs/ext4/dir.c @@ -22,10 +22,8 @@ */ #include -#include #include #include -#include #include "ext4.h" #include "xattr.h" diff --git a/fs/ext4/extents_status.c b/fs/ext4/extents_status.c index e04d45733976..d33d5a6852b9 100644 --- a/fs/ext4/extents_status.c +++ b/fs/ext4/extents_status.c @@ -9,12 +9,10 @@ * * Ext4 extents status tree core functions. */ -#include #include #include #include #include "ext4.h" -#include "extents_status.h" #include diff --git a/fs/ext4/file.c b/fs/ext4/file.c index 33a09da16c9c..fcc6c1349186 100644 --- a/fs/ext4/file.c +++ b/fs/ext4/file.c @@ -20,7 +20,6 @@ #include #include -#include #include #include #include diff --git a/fs/ext4/fsync.c b/fs/ext4/fsync.c index a8bc47f75fa0..e9d632e9aa4b 100644 --- a/fs/ext4/fsync.c +++ b/fs/ext4/fsync.c @@ -26,7 +26,6 @@ #include #include #include -#include #include #include "ext4.h" diff --git a/fs/ext4/hash.c b/fs/ext4/hash.c index 3d586f02883e..e026aa941fd5 100644 --- a/fs/ext4/hash.c +++ b/fs/ext4/hash.c @@ -10,7 +10,6 @@ */ #include -#include #include #include "ext4.h" diff --git a/fs/ext4/ialloc.c b/fs/ext4/ialloc.c index ac644c31ca67..6ab6f639c70b 100644 --- a/fs/ext4/ialloc.c +++ b/fs/ext4/ialloc.c @@ -14,7 +14,6 @@ #include #include -#include #include #include #include diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 5cb9a212b86f..ff0c111e52eb 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -20,7 +20,6 @@ #include #include -#include #include #include #include @@ -36,7 +35,6 @@ #include #include #include -#include #include #include diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c index f58a0d106726..f1aa32c2277c 100644 --- a/fs/ext4/ioctl.c +++ b/fs/ext4/ioctl.c @@ -8,7 +8,6 @@ */ #include -#include #include #include #include diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c index 8110dd20ad3f..efb64aee5b9e 100644 --- a/fs/ext4/namei.c +++ b/fs/ext4/namei.c @@ -26,7 +26,6 @@ #include #include -#include #include #include #include diff --git a/fs/ext4/page-io.c b/fs/ext4/page-io.c index b24a2541a9ba..5687e4750c1e 100644 --- a/fs/ext4/page-io.c +++ b/fs/ext4/page-io.c @@ -8,7 +8,6 @@ #include #include -#include #include #include #include @@ -25,7 +24,6 @@ #include #include #include -#include #include "ext4_jbd2.h" #include "xattr.h" diff --git a/fs/ext4/super.c b/fs/ext4/super.c index e061e66c8280..c681352f7c69 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -21,7 +21,6 @@ #include #include #include -#include #include #include #include diff --git a/fs/ext4/symlink.c b/fs/ext4/symlink.c index ff3711932018..489b34333ea4 100644 --- a/fs/ext4/symlink.c +++ b/fs/ext4/symlink.c @@ -18,7 +18,6 @@ */ #include -#include #include #include "ext4.h" #include "xattr.h" diff --git a/fs/ext4/xattr.c b/fs/ext4/xattr.c index 1e09fc77395c..99a2cf858c8f 100644 --- a/fs/ext4/xattr.c +++ b/fs/ext4/xattr.c @@ -55,7 +55,6 @@ #include #include #include -#include #include "ext4_jbd2.h" #include "ext4.h" #include "xattr.h" -- 2.20.1