aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/rdma_core.c
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2020-09-29 13:09:07 -0300
committerJason Gunthorpe <jgg@nvidia.com>2020-09-30 15:27:19 -0300
commita6f0b08dbaf289c3c57284e16ac8043140f2139b (patch)
tree61df9c16233b079b86b0f80a68910c527dc97daf /drivers/infiniband/core/rdma_core.c
parentRDMA/rtrs: Remove unused field of rtrs_iu (diff)
downloadlinux-dev-a6f0b08dbaf289c3c57284e16ac8043140f2139b.tar.xz
linux-dev-a6f0b08dbaf289c3c57284e16ac8043140f2139b.zip
RDMA/core: Remove ucontext->closing
Nothing reads this any more, and the reason for its existence has passed due to the deferred fput() scheme. Fixes: 8ea1f989aa07 ("drivers/IB,usnic: reduce scope of mmap_sem") Link: https://lore.kernel.org/r/0-v1-df64ff042436+42-uctx_closing_jgg@nvidia.com Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/core/rdma_core.c')
-rw-r--r--drivers/infiniband/core/rdma_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/core/rdma_core.c b/drivers/infiniband/core/rdma_core.c
index d2b5417a4d51..ffe11b03724c 100644
--- a/drivers/infiniband/core/rdma_core.c
+++ b/drivers/infiniband/core/rdma_core.c
@@ -889,7 +889,6 @@ void uverbs_destroy_ufile_hw(struct ib_uverbs_file *ufile,
if (!ufile->ucontext)
goto done;
- ufile->ucontext->closing = true;
ufile->ucontext->cleanup_retryable = true;
while (!list_empty(&ufile->uobjects))
if (__uverbs_cleanup_ufile(ufile, reason)) {