RDMA/device: Get rid of reg_state
authorJason Gunthorpe <jgg@mellanox.com>
Thu, 7 Feb 2019 05:41:50 +0000 (22:41 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 8 Feb 2019 23:56:45 +0000 (16:56 -0700)
commit652432f33c01b2edaa5b2550b423cd894b1c7b9a
tree0f65f5976a8144282fe8b11e2f63b1cee1158467
parentd45f89d59bcd42d6b8575d0af69d7a3a98e73bb6
RDMA/device: Get rid of reg_state

This really has no purpose anymore, refcount can be used to tell if the
device is still registered. Keeping it around just invites mis-use.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
drivers/infiniband/core/device.c
include/rdma/ib_verbs.h