aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ieee1394/sbp2.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/ieee1394/sbp2.c b/drivers/ieee1394/sbp2.c
index cd156d4e779e..e5ba55bbd935 100644
--- a/drivers/ieee1394/sbp2.c
+++ b/drivers/ieee1394/sbp2.c
@@ -2564,11 +2564,9 @@ static int sbp2scsi_abort(struct scsi_cmnd *SCpnt)
2564 scsi_print_command(SCpnt); 2564 scsi_print_command(SCpnt);
2565 2565
2566 if (sbp2util_node_is_available(scsi_id)) { 2566 if (sbp2util_node_is_available(scsi_id)) {
2567 sbp2_agent_reset(scsi_id, 1);
2567 2568
2568 /* 2569 /* Return a matching command structure to the free pool. */
2569 * Right now, just return any matching command structures
2570 * to the free pool.
2571 */
2572 spin_lock_irqsave(&scsi_id->sbp2_command_orb_lock, flags); 2570 spin_lock_irqsave(&scsi_id->sbp2_command_orb_lock, flags);
2573 command = sbp2util_find_command_for_SCpnt(scsi_id, SCpnt); 2571 command = sbp2util_find_command_for_SCpnt(scsi_id, SCpnt);
2574 if (command) { 2572 if (command) {
@@ -2589,10 +2587,6 @@ static int sbp2scsi_abort(struct scsi_cmnd *SCpnt)
2589 } 2587 }
2590 spin_unlock_irqrestore(&scsi_id->sbp2_command_orb_lock, flags); 2588 spin_unlock_irqrestore(&scsi_id->sbp2_command_orb_lock, flags);
2591 2589
2592 /*
2593 * Initiate a fetch agent reset.
2594 */
2595 sbp2_agent_reset(scsi_id, 1);
2596 sbp2scsi_complete_all_commands(scsi_id, DID_BUS_BUSY); 2590 sbp2scsi_complete_all_commands(scsi_id, DID_BUS_BUSY);
2597 } 2591 }
2598 2592