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
|
@ -2055,7 +2055,7 @@ static int ipath_close(struct inode *in, struct file *fp)
|
||||||
|
|
||||||
mutex_lock(&ipath_mutex);
|
mutex_lock(&ipath_mutex);
|
||||||
|
|
||||||
fd = (struct ipath_filedata *) fp->private_data;
|
fd = fp->private_data;
|
||||||
fp->private_data = NULL;
|
fp->private_data = NULL;
|
||||||
pd = fd->pd;
|
pd = fd->pd;
|
||||||
if (!pd) {
|
if (!pd) {
|
||||||
|
|
Loading…
Reference in New Issue