Re: [PATCH 1/1] fat: remove redundant sys_tz declaration

From: OGAWA Hirofumi
Date: Sun Oct 12 2014 - 08:31:37 EST


Fabian Frederick <fabf@xxxxxxxxx> writes:

> sys_tz is already declared extern struct in include/linux/time.h
>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Cc: OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
> ---
> fs/fat/misc.c | 2 --
> 1 file changed, 2 deletions(-)

Acked-by: OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>

> diff --git a/fs/fat/misc.c b/fs/fat/misc.c
> index 628e22a..d8da2d2 100644
> --- a/fs/fat/misc.c
> +++ b/fs/fat/misc.c
> @@ -164,8 +164,6 @@ int fat_chain_add(struct inode *inode, int new_dclus, int nr_cluster)
> return 0;
> }
>
> -extern struct timezone sys_tz;
> -
> /*
> * The epoch of FAT timestamp is 1980.
> * : bits : value

--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
--
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/