OSDN Git Service

mtip32xx: remove mtip_init_cmd_header
authorChristoph Hellwig <hch@lst.de>
Fri, 9 Nov 2018 13:48:59 +0000 (14:48 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 9 Nov 2018 15:39:21 +0000 (08:39 -0700)
commit7bbf118f3b15682f79eee52c3eb96a13a71372c0
treefc4451200135be1be723ca882e97c279aa8c5e24
parent643b5f68d0f9b5a269ebbcc9f0e6c658b41b864e
mtip32xx: remove mtip_init_cmd_header

There isn't much need for this helper - we can just calculate the offset
for the command header once late in the submission path and fill out
the ctba and ctbau fields there.

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