Home
last modified time | relevance | path

Searched hist:"485 f2fb1" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-srv.c485f2fb1 Fri May 28 06:30:02 CDT 2021 Guoqing Jiang <guoqing.jiang@cloud.ionos.com> RDMA/rtrs-srv: Clean up the code in __rtrs_srv_change_state

No need to use double switch to check the change of state everywhere,
let's change them to "if" to reduce size.

Link: https://lore.kernel.org/r/20210528113018.52290-5-jinpu.wang@ionos.com
Signed-off-by: Guoqing Jiang <guoqing.jiang@ionos.com>
Reviewed-by: Md Haris Iqbal <haris.iqbal@ionos.com>
Signed-off-by: Gioh Kim <gi-oh.kim@ionos.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>