diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2006-11-02 15:16:08 -0500 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2006-12-07 15:46:20 -0500 |
commit | 8c8009e69b31c60e875a348c1b032ed9543d1df6 (patch) | |
tree | 79cb14af49a1ea084dd602619739e34e4bf781df | |
parent | ea42ea0f58aaa03e9cd245b124903e25629746e6 (diff) |
ieee1394: sbp2: remove dead code
This has been within #if 0 for a long time and is wrong anyway.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
-rw-r--r-- | drivers/ieee1394/sbp2.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/ieee1394/sbp2.c b/drivers/ieee1394/sbp2.c index f1f5de616d79..2b3099477e99 100644 --- a/drivers/ieee1394/sbp2.c +++ b/drivers/ieee1394/sbp2.c | |||
@@ -2546,21 +2546,6 @@ static void sbp2scsi_complete_command(struct scsi_id_instance_data *scsi_id, | |||
2546 | } | 2546 | } |
2547 | 2547 | ||
2548 | /* | 2548 | /* |
2549 | * If a unit attention occurs, return busy status so it gets | ||
2550 | * retried... it could have happened because of a 1394 bus reset | ||
2551 | * or hot-plug... | ||
2552 | * XXX DID_BUS_BUSY is actually a bad idea because it will defy | ||
2553 | * the scsi layer's retry logic. | ||
2554 | */ | ||
2555 | #if 0 | ||
2556 | if ((scsi_status == SBP2_SCSI_STATUS_CHECK_CONDITION) && | ||
2557 | (SCpnt->sense_buffer[2] == UNIT_ATTENTION)) { | ||
2558 | SBP2_DEBUG("UNIT ATTENTION - return busy"); | ||
2559 | SCpnt->result = DID_BUS_BUSY << 16; | ||
2560 | } | ||
2561 | #endif | ||
2562 | |||
2563 | /* | ||
2564 | * Tell scsi stack that we're done with this command | 2549 | * Tell scsi stack that we're done with this command |
2565 | */ | 2550 | */ |
2566 | done(SCpnt); | 2551 | done(SCpnt); |