summaryrefslogtreecommitdiffstats
path: root/drivers/block/rnbd/rnbd-srv.c
diff options
context:
space:
mode:
authorGuoqing Jiang <guoqing.jiang@gmx.com>2021-04-19 09:37:07 +0200
committerJens Axboe <axboe@kernel.dk>2021-04-20 16:59:03 +0200
commit8b7f05114b3446e71b69f5d74d1ef8a92980793e (patch)
treebcdaa7b824eddeec98bfab449921c38c21284ff1 /drivers/block/rnbd/rnbd-srv.c
parentblock/rnbd-clt: Remove some arguments from insert_dev_if_not_exists_devpath (diff)
downloadlinux-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