Re: [PATCH] RDMA/ib_srpt: unify checking rdma_cm_id condition in srpt_cm_req_recv()

From: Bart Van Assche
Date: Tue Aug 02 2022 - 13:29:44 EST


On 7/31/22 23:43, Li Zhijian wrote:
Although rdma_cm_id and ib_cm_id passing to srpt_cm_req_recv() are
exclusive currently, all other checking condition are using rdma_cm_id.
So unify the 'if' condition to make the code more clear.

Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>