From: Phil Sutter Date: Tue, 20 Jan 2009 16:40:56 +0000 (+0100) Subject: pata-rb532-cf: remove set_irq_type from finish_io X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b98f5046397b9f4c5060e5b73e483bfd9e453dd6;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git pata-rb532-cf: remove set_irq_type from finish_io The driver has been tested without the call to set_irq_type at this point and occurs to work fine, so it should be safe to remove it. Signed-off-by: Phil Sutter Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/pata_rb532_cf.c b/drivers/ata/pata_rb532_cf.c index c2e6fb9f2ef9..ebfcda26d639 100644 --- a/drivers/ata/pata_rb532_cf.c +++ b/drivers/ata/pata_rb532_cf.c @@ -63,8 +63,6 @@ static inline void rb532_pata_finish_io(struct ata_port *ap) ata_sff_sync might be sufficient. */ ata_sff_dma_pause(ap); ndelay(RB500_CF_IO_DELAY); - - set_irq_type(info->irq, IRQ_TYPE_LEVEL_HIGH); } static void rb532_pata_exec_command(struct ata_port *ap,