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:
parent
33fa1d909c
commit
78e2c6415a
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue