IB/iser: open code iser_conn_state_comp_exch
authorSergey Gorenko <sergeygo@nvidia.com>
Sun, 16 Oct 2022 09:38:31 +0000 (12:38 +0300)
committerLeon Romanovsky <leon@kernel.org>
Wed, 19 Oct 2022 07:38:35 +0000 (10:38 +0300)
commitacc7d94ab431fb6f34e41588f2784410c2d9008e
tree1a4cae500e6434150e51d9de1c059015fa23aae3
parent7ac7bfe746d8faddbd79abed526ee67f46d8867c
IB/iser: open code iser_conn_state_comp_exch

There is a single caller to iser_conn_state_comp_exch. Open code its
logic and remove it.

Acked-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Signed-off-by: Sergey Gorenko <sergeygo@nvidia.com>
Link: https://lore.kernel.org/r/20221016093833.12537-2-mgurtovoy@nvidia.com
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/ulp/iser/iser_verbs.c