diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2005-05-25 21:15:34 +0300 |
---|---|---|
committer | Anton Altaparmakov <aia21@cantab.net> | 2005-05-27 16:00:53 +0100 |
commit | 2fb21db2548fc8b196eb8d8425f05ee1965d5344 (patch) | |
tree | b319e97bfb3e50bcde9a82cf089d86a7dcb03df5 /fs/ntfs/inode.c | |
parent | 5eac51462f340b7c4a03b9220cf157c40b4990a5 (diff) | |
download | linux-2fb21db2548fc8b196eb8d8425f05ee1965d5344.tar.bz2 |
NTFS: Remove spurious void pointer casts from fs/ntfs/.
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
Diffstat (limited to 'fs/ntfs/inode.c')
-rw-r--r-- | fs/ntfs/inode.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/ntfs/inode.c b/fs/ntfs/inode.c index f7bee8d014d9..886214a77f90 100644 --- a/fs/ntfs/inode.c +++ b/fs/ntfs/inode.c @@ -317,8 +317,7 @@ struct inode *ntfs_alloc_big_inode(struct super_block *sb) ntfs_inode *ni; ntfs_debug("Entering."); - ni = (ntfs_inode *)kmem_cache_alloc(ntfs_big_inode_cache, - SLAB_NOFS); + ni = kmem_cache_alloc(ntfs_big_inode_cache, SLAB_NOFS); if (likely(ni != NULL)) { ni->state = 0; return VFS_I(ni); @@ -343,7 +342,7 @@ static inline ntfs_inode *ntfs_alloc_extent_inode(void) ntfs_inode *ni; ntfs_debug("Entering."); - ni = (ntfs_inode *)kmem_cache_alloc(ntfs_inode_cache, SLAB_NOFS); + ni = kmem_cache_alloc(ntfs_inode_cache, SLAB_NOFS); if (likely(ni != NULL)) { ni->state = 0; return ni; |