libata: clean up port_ops->sff_irq_clear()
authorTejun Heo <htejun@gmail.com>
Mon, 7 Apr 2008 13:47:17 +0000 (22:47 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 17 Apr 2008 19:44:22 +0000 (15:44 -0400)
commit288623a06c652239d2f57d271af12bb024cf7218
treee693ca8a46cbedc522cb6f5ca3395d3dc692cfb3
parent5682ed33aae05d10a25c95633ef9d9c062825888
libata: clean up port_ops->sff_irq_clear()

->sff_irq_clear() is called only from SFF interrupt handler, so there
is no reason to initialize it for non-SFF controllers.  Also,
ata_sff_irq_clear() can handle both BMDMA and non-BMDMA SFF
controllers.

This patch kills ata_noop_irq_clear() and removes it from base
port_ops and sets ->sff_irq_clear to ata_sff_irq_clear() in sff
port_ops instead of bmdma port_ops.

Signed-off-by: Tejun Heo <htejun@gmail.com>
drivers/ata/libata-core.c
drivers/ata/libata-sff.c
include/linux/libata.h