summaryrefslogtreecommitdiffstats
path: root/kernel/fs/adfs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/adfs/super.c')
-rw-r--r--kernel/fs/adfs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fs/adfs/super.c b/kernel/fs/adfs/super.c
index a19c31d3f..4d4a0df83 100644
--- a/kernel/fs/adfs/super.c
+++ b/kernel/fs/adfs/super.c
@@ -242,7 +242,7 @@ static struct kmem_cache *adfs_inode_cachep;
static struct inode *adfs_alloc_inode(struct super_block *sb)
{
struct adfs_inode_info *ei;
- ei = (struct adfs_inode_info *)kmem_cache_alloc(adfs_inode_cachep, GFP_KERNEL);
+ ei = kmem_cache_alloc(adfs_inode_cachep, GFP_KERNEL);
if (!ei)
return NULL;
return &ei->vfs_inode;