No users left.
Unified · Split
| @@ -331,7 +331,6 @@ static struct request *blk_mq_rq_ctx_init(struct blk_mq_alloc_data *data, · 330 unmodified lines | ||
| 331 | 331 | #if defined(CONFIG_BLK_DEV_INTEGRITY) |
| 332 | 332 | rq->nr_integrity_segments = 0; |
| 333 | 333 | #endif |
| 334 | − rq->special = NULL; | |
| 335 | 334 | /* tag was already set */ |
| 336 | 335 | rq->extra_len = 0; |
| 337 | 336 | WRITE_ONCE(rq->deadline, 0); |
| @@ -1171,8 +1171,6 @@ static blk_status_t sd_setup_read_write_cmnd(struct scsi_cmnd *cmd) · 1170 unmodified lines | ||
| 1171 | 1171 | if (ret != BLK_STS_OK) |
| 1172 | 1172 | return ret; |
| 1173 | 1173 | |
| 1174 | − WARN_ON_ONCE(cmd != rq->special); | |
| 1175 | − | |
| 1176 | 1174 | if (!scsi_device_online(sdp) || sdp->changed) { |
| 1177 | 1175 | scmd_printk(KERN_ERR, cmd, "device offline or changed\n"); |
| 1178 | 1176 | return BLK_STS_IOERR; |
| @@ -216,8 +216,6 @@ struct request { · 215 unmodified lines | ||
| 216 | 216 | unsigned short write_hint; |
| 217 | 217 | unsigned short ioprio; |
| 218 | 218 | |
| 219 | − void *special; /* opaque pointer available for LLD use */ | |
| 220 | − | |
| 221 | 219 | unsigned int extra_len; /* length of alignment and padding */ |
| 222 | 220 | |
| 223 | 221 | enum mq_rq_state state; |