diff options
author | Guoqing Jiang <[email protected]> | 2023-05-24 15:00:22 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-06-11 19:48:42 -0600 |
commit | ba2eed1cf8f08f1e5b1ba009ac22554f14d05342 (patch) | |
tree | 2e542af5ff9d087b9cd616740b5a068e1e9afa5c /lib/memory-notifier-error-inject.c | |
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 <[email protected]>
Signed-off-by: Guoqing Jiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions