Commit 78e2c641 authored by Joe Perches's avatar Joe Perches Committed by Jiri Kosina

drivers/infiniband: Remove unnecessary casts of private_data

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Acked-by: default avatarRalph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 33fa1d90
...@@ -2055,7 +2055,7 @@ static int ipath_close(struct inode *in, struct file *fp) ...@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment