mtip32xx: move the blk_rq_map_sg call to mtip_hw_submit_io
authorChristoph Hellwig <hch@lst.de>
Fri, 9 Nov 2018 13:48:54 +0000 (14:48 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 9 Nov 2018 15:39:21 +0000 (08:39 -0700)
commitb5fa0e9ec997031083a76972d2ee0e8db671420a
treec402f4b5e212fbc11fd75fe72757fb51972fecb2
parent72d7ce8eb2bca8f77eebdd3271e59f6a5998dc4a
mtip32xx: move the blk_rq_map_sg call to mtip_hw_submit_io

We have all arguments at hand in mtip_hw_submit_io, so keep the
rq to sg mapping close to the dma_map_sg call.

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