Commit ea3f0e6b 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 40b3be3f
......@@ -1722,7 +1722,7 @@ static int qib_close(struct inode *in, struct file *fp)
mutex_lock(&qib_mutex);
fd = (struct qib_filedata *) fp->private_data;
fd = fp->private_data;
fp->private_data = NULL;
rcd = fd->rcd;
if (!rcd) {
......@@ -1808,7 +1808,7 @@ static int qib_ctxt_info(struct file *fp, struct qib_ctxt_info __user *uinfo)
struct qib_ctxtdata *rcd = ctxt_fp(fp);
struct qib_filedata *fd;
fd = (struct qib_filedata *) fp->private_data;
fd = fp->private_data;
info.num_active = qib_count_active_units();
info.unit = rcd->dd->unit;
......
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