summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2012-10-04 13:19:20 +0200
committerJens Axboe <axboe@kernel.dk>2012-10-04 13:19:20 +0200
commit4c6258a3db9ad19d8b2e6199dd0e93034749eb5d (patch)
tree656f24de467c9e5da21b957a006f307b9f8bc9bf
parent4c222addb496cb4c315c2f6e40b3eaad0a8831b8 (diff)
mtip32xx: kill hctx
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--drivers/block/mtip32xx/mtip32xx.c1
-rw-r--r--drivers/block/mtip32xx/mtip32xx.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/block/mtip32xx/mtip32xx.c b/drivers/block/mtip32xx/mtip32xx.c
index 454a48d89bc2..9f072cd3c224 100644
--- a/drivers/block/mtip32xx/mtip32xx.c
+++ b/drivers/block/mtip32xx/mtip32xx.c
@@ -2480,7 +2480,6 @@ static void mtip_hw_submit_io(struct driver_data *dd, struct request *rq,
* Set the completion function and data for the command passed
* from the upper layer.
*/
- command->hctx = hctx;
command->async_data = rq;
command->async_callback = blk_mq_end_io;
diff --git a/drivers/block/mtip32xx/mtip32xx.h b/drivers/block/mtip32xx/mtip32xx.h
index aa23c203e52a..9973156cec71 100644
--- a/drivers/block/mtip32xx/mtip32xx.h
+++ b/drivers/block/mtip32xx/mtip32xx.h
@@ -310,8 +310,6 @@ struct mtip_cmd {
unsigned long comp_time; /* command completion time, in jiffies */
atomic_t active; /* declares if this command sent to the drive. */
-
- struct blk_mq_hw_ctx *hctx; /* block layer hw context used for io completion */
};
/* Structure used to describe a port. */