lkml.org 
[lkml]   [2009]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 11/56] freevxfs: Remove void casts
[Added maintainer CC]
Jack Stone wrote:
> Remove uneeded void casts
>
> Signed-Off-By: Jack Stone <jwjstone@fastmail.fm>
> ---
> fs/freevxfs/vxfs_inode.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/fs/freevxfs/vxfs_inode.c b/fs/freevxfs/vxfs_inode.c
> index 03a6ea5..9811217 100644
> --- a/fs/freevxfs/vxfs_inode.c
> +++ b/fs/freevxfs/vxfs_inode.c
> @@ -138,7 +138,7 @@ __vxfs_iget(ino_t ino, struct inode *ilistp)
> if (!IS_ERR(pp)) {
> struct vxfs_inode_info *vip;
> struct vxfs_dinode *dip;
> - caddr_t kaddr = (char *)page_address(pp);
> + caddr_t kaddr = page_address(pp);
>
> if (!(vip = kmem_cache_alloc(vxfs_inode_cachep, GFP_KERNEL)))
> goto fail;
>



\
 
 \ /
  Last update: 2009-04-09 11:57    [from the cache]
©2003-2011 Jasper Spaans