aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/uverbs.h
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2018-09-16 20:37:38 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-09-19 10:07:05 -0600
commit6ebce44746036c923d0c255672735399192467c3 (patch)
treeaa8c86ae34938a23fb9512e2cefec8d8273986ad /drivers/infiniband/core/uverbs.h
parentIB/rxe: Revise the ib_wr_opcode enum (diff)
downloadlinux-dev-6ebce44746036c923d0c255672735399192467c3.tar.xz
linux-dev-6ebce44746036c923d0c255672735399192467c3.zip
RDMA/uverbs: Remove is_closed from ib_uverbs_file
This does nothing but indicate if the uverbs_file is in the device's list, use list_del_init instead. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/uverbs.h')
-rw-r--r--drivers/infiniband/core/uverbs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/core/uverbs.h b/drivers/infiniband/core/uverbs.h
index 717ab35b0af9..24369eb66c67 100644
--- a/drivers/infiniband/core/uverbs.h
+++ b/drivers/infiniband/core/uverbs.h
@@ -147,7 +147,6 @@ struct ib_uverbs_file {
struct ib_event_handler event_handler;
struct ib_uverbs_async_event_file *async_file;
struct list_head list;
- int is_closed;
/*
* To access the uobjects list hw_destroy_rwsem must be held for write