[PATCH 1/1 linux-next] fs/affs: remove redundant sys_tz declarations

From: Fabian Frederick
Date: Sat Sep 27 2014 - 12:10:42 EST


sys_tz is already declared in include/linux/time.h

Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
---
fs/affs/amigaffs.c | 2 --
fs/affs/inode.c | 1 -
fs/affs/super.c | 2 --
3 files changed, 5 deletions(-)

diff --git a/fs/affs/amigaffs.c b/fs/affs/amigaffs.c
index 406b298..abc8539 100644
--- a/fs/affs/amigaffs.c
+++ b/fs/affs/amigaffs.c
@@ -10,8 +10,6 @@

#include "affs.h"

-extern struct timezone sys_tz;
-
static char ErrorBuffer[256];

/*
diff --git a/fs/affs/inode.c b/fs/affs/inode.c
index bec2d1a..31c2e37 100644
--- a/fs/affs/inode.c
+++ b/fs/affs/inode.c
@@ -14,7 +14,6 @@
#include "affs.h"

extern const struct inode_operations affs_symlink_inode_operations;
-extern struct timezone sys_tz;

struct inode *affs_iget(struct super_block *sb, unsigned long ino)
{
diff --git a/fs/affs/super.c b/fs/affs/super.c
index 51f1a95..314b3ff 100644
--- a/fs/affs/super.c
+++ b/fs/affs/super.c
@@ -20,8 +20,6 @@
#include <linux/writeback.h>
#include "affs.h"

-extern struct timezone sys_tz;
-
static int affs_statfs(struct dentry *dentry, struct kstatfs *buf);
static int affs_remount (struct super_block *sb, int *flags, char *data);

--
1.9.3

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