commit | ba2eed1cf8f08f1e5b1ba009ac22554f14d05342 | [log] [tgz] |
---|---|---|
author | Guoqing Jiang <guoqing.jiang@linux.dev> | Wed May 24 15:00:22 2023 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Jun 11 19:48:42 2023 -0600 |
tree | 2e542af5ff9d087b9cd616740b5a068e1e9afa5c | |
parent | d6e94913cb1cb4b4d1d737f72b5cef10b13395ff [diff] |
block/rnbd-srv: no need to check sess_dev Check ret is enough since if sess_dev is NULL which also implies ret should be 0. Acked-by: Jack Wang <jinpu.wang@ionos.com> Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev> Link: https://lore.kernel.org/r/20230524070026.2932-5-guoqing.jiang@linux.dev Signed-off-by: Jens Axboe <axboe@kernel.dk>