block: remove __blk_rq_unmap_user
authorChristoph Hellwig <hch@lst.de>
Thu, 27 Aug 2020 15:37:46 +0000 (17:37 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Sep 2020 22:49:25 +0000 (16:49 -0600)
commit7b63c052a580d7d5ed83a6e2a327e85881fa679a
tree989730afd350f66d4192d0e927a7dee012d13a79
parentf3256075ba49d80835b601bfbff350a2140b2924
block: remove __blk_rq_unmap_user

Open code __blk_rq_unmap_user in the two callers.  Both never pass a NULL
bio, and one of them can use an existing local variable instead of the bio
flag.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-map.c