diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2018-09-16 20:48:12 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-09-21 11:58:36 -0400 |
commit | 2a3ccfdbeb6a5f832d7203e230799f1ffa46e0fc (patch) | |
tree | 785c1299b4b77f0c7ccb1f14ec0735101c808775 /drivers/infiniband/core/rdma_core.c | |
parent | 56ac9dd9177ce451ac8176311915b29e8b5f0ac2 (diff) |
RDMA/uverbs: Get rid of ucontext->tgid
Nothing uses this now, just delete it.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/rdma_core.c')
-rw-r--r-- | drivers/infiniband/core/rdma_core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/core/rdma_core.c b/drivers/infiniband/core/rdma_core.c index 6a3acf4bf78a..752a55c6bdce 100644 --- a/drivers/infiniband/core/rdma_core.c +++ b/drivers/infiniband/core/rdma_core.c @@ -816,7 +816,6 @@ static void ufile_destroy_ucontext(struct ib_uverbs_file *ufile, ib_dev->disassociate_ucontext(ucontext); } - put_pid(ucontext->tgid); ib_rdmacg_uncharge(&ucontext->cg_obj, ib_dev, RDMACG_RESOURCE_HCA_HANDLE); |