diff mbox

[04/37] Remove unneeded version.h includes from fs/

Message ID alpine.LNX.2.00.1106232358330.17688@swampdragon.chaosbits.net (mailing list archive)
State New, archived
Headers show

Commit Message

Jesper Juhl June 23, 2011, 9:59 p.m. UTC
It was pointed out by 'make versioncheck' that some includes of
linux/version.h were not needed in fs/ (fs/btrfs/ctree.h and
fs/omfs/file.c).
This patch removes them.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
---
 fs/btrfs/ctree.h |    1 -
 fs/omfs/file.c   |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

Comments

Bob Copeland June 24, 2011, 1:26 p.m. UTC | #1
On Thu, Jun 23, 2011 at 11:59:32PM +0200, Jesper Juhl wrote:
> It was pointed out by 'make versioncheck' that some includes of
> linux/version.h were not needed in fs/ (fs/btrfs/ctree.h and
> fs/omfs/file.c).
> This patch removes them.
> 
> Signed-off-by: Jesper Juhl <jj@chaosbits.net>

Thanks, omfs part was leftover cruft from its time out-of-tree.

FWIW,
Acked-by: Bob Copeland <me@bobcopeland.com>
diff mbox

Patch

diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 3006287..f30ac05 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -19,7 +19,6 @@ 
 #ifndef __BTRFS_CTREE__
 #define __BTRFS_CTREE__
 
-#include <linux/version.h>
 #include <linux/mm.h>
 #include <linux/highmem.h>
 #include <linux/fs.h>
diff --git a/fs/omfs/file.c b/fs/omfs/file.c
index d738a7e..2c6d952 100644
--- a/fs/omfs/file.c
+++ b/fs/omfs/file.c
@@ -4,7 +4,6 @@ 
  * Released under GPL v2.
  */
 
-#include <linux/version.h>
 #include <linux/module.h>
 #include <linux/fs.h>
 #include <linux/buffer_head.h>