diff options
author | Guoqing Jiang <guoqing.jiang@gmx.com> | 2021-04-19 09:37:07 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-04-20 16:59:03 +0200 |
commit | 8b7f05114b3446e71b69f5d74d1ef8a92980793e (patch) | |
tree | bcdaa7b824eddeec98bfab449921c38c21284ff1 /drivers/block/rnbd/rnbd-srv.c | |
parent | block/rnbd-clt: Remove some arguments from insert_dev_if_not_exists_devpath (diff) | |
download | linux-8b7f05114b3446e71b69f5d74d1ef8a92980793e.tar.xz linux-8b7f05114b3446e71b69f5d74d1ef8a92980793e.zip |
block/rnbd-clt: Remove some arguments from rnbd_client_setup_device
Remove them since both sess and idx can be dereferenced from dev. And
sess is not used in the function.
Signed-off-by: Guoqing Jiang <guoqing.jiang@gmx.com>
Reviewed-by: Danil Kipnis <danil.kipnis@cloud.ionos.com>
Signed-off-by: Gioh Kim <gi-oh.kim@cloud.ionos.com>
Signed-off-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Link: https://lore.kernel.org/r/20210419073722.15351-5-gi-oh.kim@ionos.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/rnbd/rnbd-srv.c')
0 files changed, 0 insertions, 0 deletions