• T
    libata: clean up port_ops->sff_irq_clear() · 288623a0
    Tejun Heo 提交于
    ->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: NTejun Heo <htejun@gmail.com>
    288623a0
libata-core.c 154.4 KB