aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2006-11-02 21:16:08 +0100
committerStefan Richter <stefanr@s5r6.in-berlin.de>2006-12-07 21:46:30 +0100
commit0b885449ac6fab42cd6808c9ea8d6e456e0e65b7 (patch)
treec380c1c2eb06f647bc77a8c53a76672c92869e74 /drivers/ieee1394
parentieee1394: sbp2: remove dead code (diff)
downloadlinux-dev-0b885449ac6fab42cd6808c9ea8d6e456e0e65b7.tar.xz
linux-dev-0b885449ac6fab42cd6808c9ea8d6e456e0e65b7.zip
ieee1394: sbp2: remove duplicate code
The same case is handled further below in sbp2scsi_complete_command. Note, the second version behaves slightly different but looks preferable. It's an extremely unlikely case by the way. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/ieee1394')
-rw-r--r--drivers/ieee1394/sbp2.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/ieee1394/sbp2.c b/drivers/ieee1394/sbp2.c
index 2b3099477e99..38abf0325403 100644
--- a/drivers/ieee1394/sbp2.c
+++ b/drivers/ieee1394/sbp2.c
@@ -2484,17 +2484,6 @@ static void sbp2scsi_complete_command(struct scsi_id_instance_data *scsi_id,
}
/*
- * If a bus reset is in progress and there was an error, don't
- * complete the command, just let it get retried at the end of the
- * bus reset.
- */
- if (!hpsb_node_entry_valid(scsi_id->ne)
- && (scsi_status != SBP2_SCSI_STATUS_GOOD)) {
- SBP2_ERR("Bus reset in progress - retry command later");
- return;
- }
-
- /*
* Switch on scsi status
*/
switch (scsi_status) {