summaryrefslogtreecommitdiffstats
path: root/drivers/block/mtip32xx/mtip32xx.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-11-09 14:48:59 +0100
committerJens Axboe <axboe@kernel.dk>2018-11-09 16:39:21 +0100
commit7bbf118f3b15682f79eee52c3eb96a13a71372c0 (patch)
treefc4451200135be1be723ca882e97c279aa8c5e24 /drivers/block/mtip32xx/mtip32xx.h
parentmtip32xx: add missing endianess annotations on struct smart_attr (diff)
downloadlinux-7bbf118f3b15682f79eee52c3eb96a13a71372c0.tar.xz
linux-7bbf118f3b15682f79eee52c3eb96a13a71372c0.zip
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>
Diffstat (limited to 'drivers/block/mtip32xx/mtip32xx.h')
-rw-r--r--drivers/block/mtip32xx/mtip32xx.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/block/mtip32xx/mtip32xx.h b/drivers/block/mtip32xx/mtip32xx.h
index e8b4b3d5365a..63414928f07c 100644
--- a/drivers/block/mtip32xx/mtip32xx.h
+++ b/drivers/block/mtip32xx/mtip32xx.h
@@ -323,11 +323,6 @@ struct mtip_port;
/* Structure used to describe a command. */
struct mtip_cmd {
-
- struct mtip_cmd_hdr *command_header; /* ptr to command header entry */
-
- dma_addr_t command_header_dma; /* corresponding physical address */
-
void *command; /* ptr to command table entry */
dma_addr_t command_dma; /* corresponding physical address */