diff options
-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) { |