mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 22:14:36 -04:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user