Skip to content

Commit

Permalink
drivers/infiniband: Remove unnecessary casts of private_data
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Joe Perches authored and Jiri Kosina committed Jul 20, 2010
1 parent 33fa1d9 commit 78e2c64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/infiniband/hw/ipath/ipath_file_ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 78e2c64

Please sign in to comment.