]> err.no Git - linux-2.6/blobdiff - drivers/scsi/libata-eh.c
[PATCH] libata-dev: irq-pio minor fix
[linux-2.6] / drivers / scsi / libata-eh.c
index 011e083b19e1063787aa5d7d2d16b9e675198699..9a8eea11b0be30f8aff9437b0d7c3a58226f3ed1 100644 (file)
@@ -137,7 +137,6 @@ int ata_scsi_error(struct Scsi_Host *host)
  *     LOCKING:
  *     Inherited from SCSI layer (none, can sleep)
  */
-
 static void ata_qc_timeout(struct ata_queued_cmd *qc)
 {
        struct ata_port *ap = qc->ap;
@@ -172,8 +171,6 @@ static void ata_qc_timeout(struct ata_queued_cmd *qc)
                printk(KERN_ERR "ata%u: command 0x%x timeout, stat 0x%x host_stat 0x%x\n",
                       ap->id, qc->tf.command, drv_stat, host_stat);
 
-               ap->hsm_task_state = HSM_ST_IDLE;
-
                /* complete taskfile transaction */
                qc->err_mask |= AC_ERR_TIMEOUT;
                break;