]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit35fdd523595f29bd842832a37c2766c9f0f37442
treefc4451200135be1be723ca882e97c279aa8c5e24
parent7ba311a753f2131a9fad26b44c6d1b3296c0b1a9
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