linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sheng Yong <shengyong1@huawei.com>
To: <jack@suse.cz>, <tytso@mit.edu>, <adilger.kernel@dilger.ca>
Cc: <linux-ext4@vger.kernel.org>
Subject: [PATCH 1/2] ext2: remove unused header files
Date: Wed, 4 Mar 2015 05:52:02 +0000	[thread overview]
Message-ID: <1425448323-220091-1-git-send-email-shengyong1@huawei.com> (raw)

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

Signed-off-by: Sheng Yong <shengyong1@huawei.com>
---
 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@suse.de>
  */
 
-#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


             reply	other threads:[~2015-03-04  5:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-04  5:52 Sheng Yong [this message]
2015-03-04  5:52 ` [PATCH 2/2] ext4: remove unused header files Sheng Yong
2015-04-03  3:48   ` Theodore Ts'o

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1425448323-220091-1-git-send-email-shengyong1@huawei.com \
    --to=shengyong1@huawei.com \
    --cc=adilger.kernel@dilger.ca \
    --cc=jack@suse.cz \
    --cc=linux-ext4@vger.kernel.org \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).