Loading drivers/infiniband/core/rdma_core.c +0 −1 Original line number Diff line number Diff line Loading @@ -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); Loading drivers/infiniband/core/uverbs_cmd.c +0 −4 Original line number Diff line number Diff line Loading @@ -117,9 +117,6 @@ ssize_t ib_uverbs_get_context(struct ib_uverbs_file *file, /* ufile is required when some objects are released */ ucontext->ufile = file; rcu_read_lock(); ucontext->tgid = get_task_pid(current->group_leader, PIDTYPE_PID); rcu_read_unlock(); ucontext->closing = false; ucontext->cleanup_retryable = false; Loading Loading @@ -169,7 +166,6 @@ ssize_t ib_uverbs_get_context(struct ib_uverbs_file *file, put_unused_fd(resp.async_fd); err_free: put_pid(ucontext->tgid); ib_dev->dealloc_ucontext(ucontext); err_alloc: Loading include/rdma/ib_verbs.h +0 −1 Original line number Diff line number Diff line Loading @@ -1500,7 +1500,6 @@ struct ib_ucontext { bool cleanup_retryable; struct pid *tgid; #ifdef CONFIG_INFINIBAND_ON_DEMAND_PAGING void (*invalidate_range)(struct ib_umem_odp *umem_odp, unsigned long start, unsigned long end); Loading Loading
drivers/infiniband/core/rdma_core.c +0 −1 Original line number Diff line number Diff line Loading @@ -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); Loading
drivers/infiniband/core/uverbs_cmd.c +0 −4 Original line number Diff line number Diff line Loading @@ -117,9 +117,6 @@ ssize_t ib_uverbs_get_context(struct ib_uverbs_file *file, /* ufile is required when some objects are released */ ucontext->ufile = file; rcu_read_lock(); ucontext->tgid = get_task_pid(current->group_leader, PIDTYPE_PID); rcu_read_unlock(); ucontext->closing = false; ucontext->cleanup_retryable = false; Loading Loading @@ -169,7 +166,6 @@ ssize_t ib_uverbs_get_context(struct ib_uverbs_file *file, put_unused_fd(resp.async_fd); err_free: put_pid(ucontext->tgid); ib_dev->dealloc_ucontext(ucontext); err_alloc: Loading
include/rdma/ib_verbs.h +0 −1 Original line number Diff line number Diff line Loading @@ -1500,7 +1500,6 @@ struct ib_ucontext { bool cleanup_retryable; struct pid *tgid; #ifdef CONFIG_INFINIBAND_ON_DEMAND_PAGING void (*invalidate_range)(struct ib_umem_odp *umem_odp, unsigned long start, unsigned long end); Loading