Avoid the driver's internal mechanisms to check for device registered state and counting the work queue scheduling. v1-> v2: - Removed all reference of BNXT_RE_FLAG_IBDEV_REGISTERED from patch 1 - Removed smp_mb__before_atomic call from patch 3 Jason Gunthorpe (2): RDMA/bnxt_re: Use ib_device_try_get() RDMA/bnxt_re: Fix lifetimes in bnxt_re_task Selvin Xavier (1): RDMA/bnxt_re: Remove unnecessary sched count drivers/infiniband/hw/bnxt_re/bnxt_re.h | 2 -- drivers/infiniband/hw/bnxt_re/main.c | 37 ++++++++++++++------------------- 2 files changed, 16 insertions(+), 23 deletions(-) -- 2.5.5