summaryrefslogtreecommitdiff
path: root/drivers/block/mtip32xx/mtip32xx.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2017-05-02 09:56:00 -0600
committerJens Axboe <axboe@fb.com>2017-05-03 08:09:19 -0600
commit6f63503c8af569fcd60bb27dfe740d13be0030f6 (patch)
treefcd5523f89ebbd0fc213feb9f65426fe799933a6 /drivers/block/mtip32xx/mtip32xx.h
parent994ff079e8f6399e1f8cd43141da0f79ce7a179a (diff)
mtip32xx: convert internal commands to regular block infrastructure
Get rid of the private end_io handlers and data, and just use the regular block IO path for these requests. This removes a lot of redundant code. Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/mtip32xx/mtip32xx.h')
-rw-r--r--drivers/block/mtip32xx/mtip32xx.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/block/mtip32xx/mtip32xx.h b/drivers/block/mtip32xx/mtip32xx.h
index 57b41528a824..37b8e3e0bb78 100644
--- a/drivers/block/mtip32xx/mtip32xx.h
+++ b/drivers/block/mtip32xx/mtip32xx.h
@@ -333,16 +333,6 @@ struct mtip_cmd {
dma_addr_t command_dma; /* corresponding physical address */
- void *comp_data; /* data passed to completion function comp_func() */
- /*
- * Completion function called by the ISR upon completion of
- * a command.
- */
- void (*comp_func)(struct mtip_port *port,
- int tag,
- struct mtip_cmd *cmd,
- int status);
-
int scatter_ents; /* Number of scatter list entries used */
int unaligned; /* command is unaligned on 4k boundary */