libata: kill ATA_FLAG_DISABLED
[safe/jmp/linux-2.6] / drivers / ata / sata_inic162x.c
index 27dc6c8..0ac6cdd 100644 (file)
@@ -415,22 +415,11 @@ static irqreturn_t inic_interrupt(int irq, void *dev_instance)
 
        spin_lock(&host->lock);
 
-       for (i = 0; i < NR_PORTS; i++) {
-               struct ata_port *ap = host->ports[i];
-
-               if (!(host_irq_stat & (HIRQ_PORT0 << i)))
-                       continue;
-
-               if (likely(ap && !(ap->flags & ATA_FLAG_DISABLED))) {
-                       inic_host_intr(ap);
+       for (i = 0; i < NR_PORTS; i++)
+               if (host_irq_stat & (HIRQ_PORT0 << i)) {
+                       inic_host_intr(host->ports[i]);
                        handled++;
-               } else {
-                       if (ata_ratelimit())
-                               dev_printk(KERN_ERR, host->dev, "interrupt "
-                                          "from disabled port %d (0x%x)\n",
-                                          i, host_irq_stat);
                }
-       }
 
        spin_unlock(&host->lock);