nvmet: kill nvmet_inline_bio_init
authorChristoph Hellwig <hch@lst.de>
Thu, 9 Nov 2017 13:29:27 +0000 (14:29 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 11 Nov 2017 02:53:25 +0000 (19:53 -0700)
commite454d122e22826589cfa08788a802ab09d4fae24
tree6f2944eeaef8d56510e7139667fc7dddab2208a0
parent5e62d5c993e6889cd314d5b5de6b670152109a0e
nvmet: kill nvmet_inline_bio_init

Much easier to just opencode this helper.  Also use ARRAY_SIZE instead of
passing the inline bvec array size manually.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@rimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/target/io-cmd.c