diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2018-07-06 11:40:39 -0600 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-07-09 11:26:17 -0600 |
commit | 76bc79ccceea09a19f681dff7fd633fb8fb95c79 (patch) | |
tree | 721e39e2f4e22362d36ab5f52e9cb877a57225b0 /drivers/infiniband/core/uverbs_std_types_cq.c | |
parent | IB/uverbs: Remove ib_uobject_file (diff) | |
download | linux-dev-76bc79ccceea09a19f681dff7fd633fb8fb95c79.tar.xz linux-dev-76bc79ccceea09a19f681dff7fd633fb8fb95c79.zip |
IB/uverbs: Replace ib_ucq_object uverbs_file with the one in ib_uobject
Now that ib_uobject has a ib_uverbs_file we don't need this extra one in
ib_ucq_object.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/infiniband/core/uverbs_std_types_cq.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/core/uverbs_std_types_cq.c b/drivers/infiniband/core/uverbs_std_types_cq.c index 9d39a9e1e411..ce9c9c66bae4 100644 --- a/drivers/infiniband/core/uverbs_std_types_cq.c +++ b/drivers/infiniband/core/uverbs_std_types_cq.c @@ -105,7 +105,6 @@ static int UVERBS_HANDLER(UVERBS_METHOD_CQ_CREATE)(struct ib_device *ib_dev, obj = container_of(uverbs_attr_get_uobject(attrs, UVERBS_ATTR_CREATE_CQ_HANDLE), typeof(*obj), uobject); - obj->uverbs_file = file; obj->comp_events_reported = 0; obj->async_events_reported = 0; INIT_LIST_HEAD(&obj->comp_list); |