]> git.baikalelectronics.ru Git - kernel.git/commit
block/rnbd-clt: Remove the unneeded result variable
authorye xingchen <ye.xingchen@zte.com.cn>
Wed, 24 Aug 2022 07:52:13 +0000 (07:52 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 24 Aug 2022 14:50:44 +0000 (08:50 -0600)
commitf2cc648e12285c53365c2bcacbcd919022f4d3a8
tree4b7b3280ce6fd938b0e411a40d7e7061068a832d
parent040b83fcecfb86f3225d3a5de7fd9b3fbccf83b4
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: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Acked-by: Jack Wang <jinpu.wang@ionos.com>
Link: https://lore.kernel.org/r/20220824075213.221397-1-ye.xingchen@zte.com.cn
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rnbd/rnbd-clt.c