Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b98f5046 authored by Phil Sutter's avatar Phil Sutter Committed by Jeff Garzik
Browse files

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: default avatarPhil Sutter <n0-1@freewrt.org>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent e4d866cd
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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,