diff options
author | Christoph Hellwig <hch@lst.de> | 2006-06-10 12:01:03 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-06-10 17:24:40 -0400 |
commit | beb40487508290f5d6565598c60a3f44261beef2 (patch) | |
tree | ca63df47d8db8f1b1161b5db094b0a9c2b541d91 /drivers/scsi/constants.c | |
parent | 1951d099dfd8fa529e86f4ac81d1a34554fbe302 (diff) |
[SCSI] remove scsi_request infrastructure
With Achim patch the last user (gdth) is switched away from scsi_request
so we an kill it now. Also disables some code in i2o_scsi that was
broken since the sg driver stopped using scsi_requests.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/constants.c')
-rw-r--r-- | drivers/scsi/constants.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/scsi/constants.c b/drivers/scsi/constants.c index e24835b38b54..d92d5040a9fe 100644 --- a/drivers/scsi/constants.c +++ b/drivers/scsi/constants.c | |||
@@ -13,9 +13,9 @@ | |||
13 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
14 | 14 | ||
15 | #include <scsi/scsi.h> | 15 | #include <scsi/scsi.h> |
16 | #include <scsi/scsi_cmnd.h> | ||
16 | #include <scsi/scsi_device.h> | 17 | #include <scsi/scsi_device.h> |
17 | #include <scsi/scsi_host.h> | 18 | #include <scsi/scsi_host.h> |
18 | #include <scsi/scsi_request.h> | ||
19 | #include <scsi/scsi_eh.h> | 19 | #include <scsi/scsi_eh.h> |
20 | #include <scsi/scsi_dbg.h> | 20 | #include <scsi/scsi_dbg.h> |
21 | 21 | ||
@@ -1261,16 +1261,6 @@ void scsi_print_sense(const char *devclass, struct scsi_cmnd *cmd) | |||
1261 | } | 1261 | } |
1262 | EXPORT_SYMBOL(scsi_print_sense); | 1262 | EXPORT_SYMBOL(scsi_print_sense); |
1263 | 1263 | ||
1264 | void scsi_print_req_sense(const char *devclass, struct scsi_request *sreq) | ||
1265 | { | ||
1266 | const char *name = devclass; | ||
1267 | |||
1268 | if (sreq->sr_request->rq_disk) | ||
1269 | name = sreq->sr_request->rq_disk->disk_name; | ||
1270 | __scsi_print_sense(name, sreq->sr_sense_buffer, SCSI_SENSE_BUFFERSIZE); | ||
1271 | } | ||
1272 | EXPORT_SYMBOL(scsi_print_req_sense); | ||
1273 | |||
1274 | void scsi_print_command(struct scsi_cmnd *cmd) | 1264 | void scsi_print_command(struct scsi_cmnd *cmd) |
1275 | { | 1265 | { |
1276 | /* Assume appended output (i.e. not at start of line) */ | 1266 | /* Assume appended output (i.e. not at start of line) */ |