IB/qib: Remove atomic_inc_not_zero() from QP RCU
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Sat, 15 Jun 2013 21:06:58 +0000 (17:06 -0400)
committerRoland Dreier <roland@purestorage.com>
Sat, 22 Jun 2013 00:19:46 +0000 (17:19 -0700)
commitf7cf9a618b48212394c07b169864d20beb23b8e5
treeed7fb723991bb6b8f7ce35591f3d946418952724
parent8469ba39a6b77917e8879680aed17229bf72f263
IB/qib: Remove atomic_inc_not_zero() from QP RCU

Follow Documentation/RCU/rcuref.txt guidance in removing
atomic_inc_not_zero() from QP RCU implementation.

This patch also removes an unneeded synchronize_rcu() in the add path.

Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/qib/qib_qp.c