RDMA/rtrs-clt: Kill xchg_paths
authorGuoqing Jiang <guoqing.jiang@linux.dev>
Sat, 3 Sep 2022 04:02:52 +0000 (12:02 +0800)
committerLeon Romanovsky <leon@kernel.org>
Tue, 6 Sep 2022 11:12:03 +0000 (14:12 +0300)
commitdb77d84cfe3608eac938302f8f7178e44415bcba
tree0d3409726b557e877e9e5b98d8e9f0f16786d7cc
parent57eb9382370e768fc13e9f3bbdca5579f14ffe83
RDMA/rtrs-clt: Kill xchg_paths

Let's call try_cmpxchg directly for the same purpose.

Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Link: https://lore.kernel.org/r/20220903040252.29397-1-guoqing.jiang@linux.dev
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/ulp/rtrs/rtrs-clt.c