From: Bob Pearson Date: Wed, 16 Dec 2020 23:15:44 +0000 (-0600) Subject: RDMA/rxe: Remove unneeded RXE_POOL_ATOMIC flag X-Git-Tag: howlett/maple/20220722_2~3724^2~197 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=1d11c1b7f9ff28196d66d995f11fcf3101301fe9;p=users%2Fjedix%2Flinux-maple.git RDMA/rxe: Remove unneeded RXE_POOL_ATOMIC flag Remove RXE_POOL_ATOMIC flag from rxe_type_info for AH objects. These objects are now allocated by rdma/core so there is no further reason for this flag. Link: https://lore.kernel.org/r/20201216231550.27224-2-rpearson@hpe.com Signed-off-by: Bob Pearson Signed-off-by: Jason Gunthorpe --- diff --git a/drivers/infiniband/sw/rxe/rxe_pool.c b/drivers/infiniband/sw/rxe/rxe_pool.c index b374eb53e2fe1..11571ff64a8f7 100644 --- a/drivers/infiniband/sw/rxe/rxe_pool.c +++ b/drivers/infiniband/sw/rxe/rxe_pool.c @@ -25,7 +25,7 @@ struct rxe_type_info rxe_type_info[RXE_NUM_TYPES] = { [RXE_TYPE_AH] = { .name = "rxe-ah", .size = sizeof(struct rxe_ah), - .flags = RXE_POOL_ATOMIC | RXE_POOL_NO_ALLOC, + .flags = RXE_POOL_NO_ALLOC, }, [RXE_TYPE_SRQ] = { .name = "rxe-srq",