diff options
author | Joe Perches <joe@perches.com> | 2010-07-12 16:50:01 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-07-20 11:23:32 -0400 |
commit | 78e2c6415a50646896d75dedf9f71e54081311fa (patch) | |
tree | e89082c68b7f118c8d7eeab6a028c3293d760ce8 /drivers | |
parent | 33fa1d909c7357be715aa0e9f9e24c3ef5714493 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_file_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_file_ops.c b/drivers/infiniband/hw/ipath/ipath_file_ops.c index 9c5c66d16a23..65eb8929db22 100644 --- a/drivers/infiniband/hw/ipath/ipath_file_ops.c +++ b/drivers/infiniband/hw/ipath/ipath_file_ops.c | |||
@@ -2055,7 +2055,7 @@ static int ipath_close(struct inode *in, struct file *fp) | |||
2055 | 2055 | ||
2056 | mutex_lock(&ipath_mutex); | 2056 | mutex_lock(&ipath_mutex); |
2057 | 2057 | ||
2058 | fd = (struct ipath_filedata *) fp->private_data; | 2058 | fd = fp->private_data; |
2059 | fp->private_data = NULL; | 2059 | fp->private_data = NULL; |
2060 | pd = fd->pd; | 2060 | pd = fd->pd; |
2061 | if (!pd) { | 2061 | if (!pd) { |