diff options
author | Tejun Heo <tj@kernel.org> | 2009-04-22 22:05:20 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-04-28 01:37:36 -0400 |
commit | 731ec497e5888c6792ad62613ae9be97eebcd7ca (patch) | |
tree | 689a8442d8bdfd50ee6ab05b0c6acd0d229fe391 /drivers/scsi | |
parent | ec24751a6b57e1373a12361e581b2458bc9bb791 (diff) |
block: kill rq->data
Now that all block request data transfer is done via bio, rq->data
isn't used. Kill it.
While at it, make the roles of rq->special and buffer clear.
[ Impact: drop now unncessary field from struct request ]
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Boaz Harrosh <bharrosh@panasas.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/scsi_lib.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 756ac7c93de0..aa9fc572e45f 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c | |||
@@ -1088,7 +1088,6 @@ int scsi_setup_blk_pc_cmnd(struct scsi_device *sdev, struct request *req) | |||
1088 | return ret; | 1088 | return ret; |
1089 | } else { | 1089 | } else { |
1090 | BUG_ON(req->data_len); | 1090 | BUG_ON(req->data_len); |
1091 | BUG_ON(req->data); | ||
1092 | 1091 | ||
1093 | memset(&cmd->sdb, 0, sizeof(cmd->sdb)); | 1092 | memset(&cmd->sdb, 0, sizeof(cmd->sdb)); |
1094 | req->buffer = NULL; | 1093 | req->buffer = NULL; |