nvmet: remove a superfluous variable
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Thu, 3 Jun 2021 00:37:58 +0000 (17:37 -0700)
committerChristoph Hellwig <hch@lst.de>
Thu, 3 Jun 2021 07:29:26 +0000 (10:29 +0300)
commit346ac785badf66120d8b4c7b48f87b0a536f691e
treec7c7b27dd8f8c1f1e3d30fcd3190dadac8de08e7
parentf6e8bd59c4e84820fc5f6c404730ef872439548a
nvmet: remove a superfluous variable

Remove the superfluous variable "bdev" that is only used once in the
nvmet_bdev_alloc_bip() and use req->ns->bdev that is used everywhere in
the code to access the nvmet request's bdev.

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/io-cmd-bdev.c