Commit 69ed175c authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Martin K. Petersen

scsi: block: remove req->special

No users left.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent b9f91992
...@@ -331,7 +331,6 @@ static struct request *blk_mq_rq_ctx_init(struct blk_mq_alloc_data *data, ...@@ -331,7 +331,6 @@ static struct request *blk_mq_rq_ctx_init(struct blk_mq_alloc_data *data,
#if defined(CONFIG_BLK_DEV_INTEGRITY) #if defined(CONFIG_BLK_DEV_INTEGRITY)
rq->nr_integrity_segments = 0; rq->nr_integrity_segments = 0;
#endif #endif
rq->special = NULL;
/* tag was already set */ /* tag was already set */
rq->extra_len = 0; rq->extra_len = 0;
WRITE_ONCE(rq->deadline, 0); WRITE_ONCE(rq->deadline, 0);
......
...@@ -1171,8 +1171,6 @@ static blk_status_t sd_setup_read_write_cmnd(struct scsi_cmnd *cmd) ...@@ -1171,8 +1171,6 @@ static blk_status_t sd_setup_read_write_cmnd(struct scsi_cmnd *cmd)
if (ret != BLK_STS_OK) if (ret != BLK_STS_OK)
return ret; return ret;
WARN_ON_ONCE(cmd != rq->special);
if (!scsi_device_online(sdp) || sdp->changed) { if (!scsi_device_online(sdp) || sdp->changed) {
scmd_printk(KERN_ERR, cmd, "device offline or changed\n"); scmd_printk(KERN_ERR, cmd, "device offline or changed\n");
return BLK_STS_IOERR; return BLK_STS_IOERR;
......
...@@ -216,8 +216,6 @@ struct request { ...@@ -216,8 +216,6 @@ struct request {
unsigned short write_hint; unsigned short write_hint;
unsigned short ioprio; unsigned short ioprio;
void *special; /* opaque pointer available for LLD use */
unsigned int extra_len; /* length of alignment and padding */ unsigned int extra_len; /* length of alignment and padding */
enum mq_rq_state state; enum mq_rq_state state;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment