summaryrefslogtreecommitdiff
path: root/fs/ocfs2/dlmfs
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-07-12 20:50:19 (GMT)
committerJiri Kosina <jkosina@suse.cz>2010-07-20 15:20:08 (GMT)
commit33fa1d909c7357be715aa0e9f9e24c3ef5714493 (patch)
treea8c76fce1cf75f806eea6ae8df4426914c089197 /fs/ocfs2/dlmfs
parent7156fffaaa15aeb0e0247736eff0a86f75f49f81 (diff)
downloadlinux-fsl-qoriq-33fa1d909c7357be715aa0e9f9e24c3ef5714493.tar.xz
fs/ocfs2: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'fs/ocfs2/dlmfs')
-rw-r--r--fs/ocfs2/dlmfs/dlmfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ocfs2/dlmfs/dlmfs.c b/fs/ocfs2/dlmfs/dlmfs.c
index b83d610..bef34d0 100644
--- a/fs/ocfs2/dlmfs/dlmfs.c
+++ b/fs/ocfs2/dlmfs/dlmfs.c
@@ -182,8 +182,7 @@ static int dlmfs_file_release(struct inode *inode,
{
int level, status;
struct dlmfs_inode_private *ip = DLMFS_I(inode);
- struct dlmfs_filp_private *fp =
- (struct dlmfs_filp_private *) file->private_data;
+ struct dlmfs_filp_private *fp = file->private_data;
if (S_ISDIR(inode->i_mode))
BUG();