Re: [PATCH 04/56] befs: Remove void casts
From: Jack Stone
Date: Thu Apr 09 2009 - 05:39:27 EST
[Added maintainer CC]
Jack Stone wrote:
> Heres the fixed patch
>
> Thanks
>
> Jack
>
> befs: Remove void casts
>
> From: Jack Stone <jwjstone@xxxxxxxxxxx>
>
> Remove uneeded void casts
>
> Signed-Off-By: Jack Stone <jwjstone@xxxxxxxxxxx>
> ---
>
> fs/befs/linuxvfs.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c
> index 76afd0d..e8b56a1 100644
> --- a/fs/befs/linuxvfs.c
> +++ b/fs/befs/linuxvfs.c
> @@ -277,8 +277,7 @@ static struct inode *
> befs_alloc_inode(struct super_block *sb)
> {
> struct befs_inode_info *bi;
> - bi = (struct befs_inode_info *)kmem_cache_alloc(befs_inode_cachep,
> - GFP_KERNEL);
> + bi = kmem_cache_alloc(befs_inode_cachep, GFP_KERNEL);
> if (!bi)
> return NULL;
> return &bi->vfs_inode;
> --
> To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
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/