drivers/infiniband: Remove unnecessary casts of private_data

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
Joe Perches 2010-07-12 13:50:01 -07:00 committed by Jiri Kosina
parent 33fa1d909c
commit 78e2c6415a
1 changed files with 1 additions and 1 deletions

View 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) {