Skip to content
Commit f2cc648e authored by ye xingchen's avatar ye xingchen Committed by Jens Axboe
Browse files

block/rnbd-clt: Remove the unneeded result variable



Return the value from rtrs_clt_rdma_cq_direct() directly instead of
storing it in another redundant variable.

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarye xingchen <ye.xingchen@zte.com.cn>
Acked-by: default avatarJack Wang <jinpu.wang@ionos.com>
Link: https://lore.kernel.org/r/20220824075213.221397-1-ye.xingchen@zte.com.cn
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 040b83fc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment