libata: don't whine on spurious IRQ
authorTejun Heo <tj@kernel.org>
Wed, 31 Mar 2010 07:41:18 +0000 (16:41 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 6 Apr 2010 14:54:38 +0000 (10:54 -0400)
On configurations where IRQ line is shared with a different
controller, spurious IRQs may happen continuously.  The message was
put there primarily for debugging anyway.  Kill it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-sff.c

index 6411e0c7b9fe83c7239838e597c8a937bf801819..e3877b6843c9ad4d16b469770b9c4595cdd0a086 100644 (file)
@@ -1816,10 +1816,6 @@ retry:
                            !ap->ops->sff_irq_check(ap))
                                continue;
 
-                       if (printk_ratelimit())
-                               ata_port_printk(ap, KERN_INFO,
-                                               "clearing spurious IRQ\n");
-
                        if (idle & (1 << i)) {
                                ap->ops->sff_check_status(ap);
                                ap->ops->sff_irq_clear(ap);