drivers/infiniband: Remove unnecessary casts of private_data
authorJoe Perches <joe@perches.com>
Mon, 12 Jul 2010 20:50:01 +0000 (13:50 -0700)
committerJiri Kosina <jkosina@suse.cz>
Tue, 20 Jul 2010 15:23:32 +0000 (17:23 +0200)
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/infiniband/hw/ipath/ipath_file_ops.c

index 9c5c66d16a2316fc58db3d3aa3e82b85d941b36a..65eb8929db22c69da11950ef0ee5e80913a9cc52 100644 (file)
@@ -2055,7 +2055,7 @@ static int ipath_close(struct inode *in, struct file *fp)
 
        mutex_lock(&ipath_mutex);
 
-       fd = (struct ipath_filedata *) fp->private_data;
+       fd = fp->private_data;
        fp->private_data = NULL;
        pd = fd->pd;
        if (!pd) {