diff options
author | Christoph Hellwig <hch@lst.de> | 2005-06-19 07:40:08 -0400 |
---|---|---|
committer | James Bottomley <jejb@titanic.(none)> | 2005-06-26 13:14:46 -0400 |
commit | f5ad56145d43cdb68760bba3e14655ff6ae726aa (patch) | |
tree | 8d5f2db39e519b47f60ccac5224b11f787a47abe /drivers/scsi/scsi_lib.c | |
parent | a4c8f6285165a7089edb2010dbd894148ca95d57 (diff) |
[SCSI] remove scsi_cmnd->abort_reason
Never used for anything but printing it out in debug routines.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
-rw-r--r-- | drivers/scsi/scsi_lib.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 621dee8b8cb..b4f320854d6 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c | |||
@@ -301,7 +301,6 @@ static int scsi_init_cmd_errh(struct scsi_cmnd *cmd) | |||
301 | { | 301 | { |
302 | cmd->owner = SCSI_OWNER_MIDLEVEL; | 302 | cmd->owner = SCSI_OWNER_MIDLEVEL; |
303 | cmd->serial_number = 0; | 303 | cmd->serial_number = 0; |
304 | cmd->abort_reason = 0; | ||
305 | 304 | ||
306 | memset(cmd->sense_buffer, 0, sizeof cmd->sense_buffer); | 305 | memset(cmd->sense_buffer, 0, sizeof cmd->sense_buffer); |
307 | 306 | ||
@@ -322,7 +321,6 @@ static int scsi_init_cmd_errh(struct scsi_cmnd *cmd) | |||
322 | memcpy(cmd->data_cmnd, cmd->cmnd, sizeof(cmd->cmnd)); | 321 | memcpy(cmd->data_cmnd, cmd->cmnd, sizeof(cmd->cmnd)); |
323 | cmd->buffer = cmd->request_buffer; | 322 | cmd->buffer = cmd->request_buffer; |
324 | cmd->bufflen = cmd->request_bufflen; | 323 | cmd->bufflen = cmd->request_bufflen; |
325 | cmd->abort_reason = 0; | ||
326 | 324 | ||
327 | return 1; | 325 | return 1; |
328 | } | 326 | } |