lkml.org 
[lkml]   [2009]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 48/56] smbfs: Remove void casts
    Date
    Remove uneeded void casts

    Signed-Off-By: Jack Stone <jwjstone@fastmail.fm>
    ---
    fs/smbfs/inode.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/fs/smbfs/inode.c b/fs/smbfs/inode.c
    index fc27fbf..8892e62 100644
    --- a/fs/smbfs/inode.c
    +++ b/fs/smbfs/inode.c
    @@ -56,7 +56,7 @@ static struct kmem_cache *smb_inode_cachep;
    static struct inode *smb_alloc_inode(struct super_block *sb)
    {
    struct smb_inode_info *ei;
    - ei = (struct smb_inode_info *)kmem_cache_alloc(smb_inode_cachep, GFP_KERNEL);
    + ei = kmem_cache_alloc(smb_inode_cachep, GFP_KERNEL);
    if (!ei)
    return NULL;
    return &ei->vfs_inode;
    --
    1.5.4.3


    \
     
     \ /
      Last update: 2009-04-08 13:43    [W:0.046 / U:29.116 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site