This series of patches corrects a bug introduced in rxe_pool.c by a recent commit and then addresses several issues raised during discussion of the bug and the proposed fix. The first patch fixes a real bug but the other five are stylistic and cleanup changes. Signed-off-by: Bob Pearson <rpearson@xxxxxxx> Bob Pearson (6): RDMA/rxe: Fix bug in rxe_alloc RDMA/rxe: Fix misleading comments and names RDMA/rxe: Remove RXE_POOL_ATOMIC RDMA/rxe: Remove references to ib_device and pool RDMA/rxe: Remove unneeded pool->state RDMA/rxe: Replace missing rxe_pool_get_index__ drivers/infiniband/sw/rxe/rxe_mcast.c | 8 +- drivers/infiniband/sw/rxe/rxe_pool.c | 132 +++++++++----------------- drivers/infiniband/sw/rxe/rxe_pool.h | 57 ++++++----- 3 files changed, 76 insertions(+), 121 deletions(-) -- 2.27.0