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

Commit eb1e17fb authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Matt Turner
Browse files

alpha: irq: Remove pointless irq status manipulation



The irq descriptors are initialized IRQ_DISABLED in the generic
code. No need to fiddle with them.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarMatt Turner <mattst88@gmail.com>
parent 628150ca
Loading
Loading
Loading
Loading
+3 −8
Original line number Original line Diff line number Diff line
@@ -228,15 +228,10 @@ struct irqaction timer_irqaction = {
void __init
void __init
init_rtc_irq(void)
init_rtc_irq(void)
{
{
	struct irq_desc *desc = irq_to_desc(RTC_IRQ);

	if (desc) {
		desc->status |= IRQ_DISABLED;
	set_irq_chip_and_handler_name(RTC_IRQ, &no_irq_chip,
	set_irq_chip_and_handler_name(RTC_IRQ, &no_irq_chip,
				      handle_simple_irq, "RTC");
				      handle_simple_irq, "RTC");
	setup_irq(RTC_IRQ, &timer_irqaction);
	setup_irq(RTC_IRQ, &timer_irqaction);
}
}
}


/* Dummy irqactions.  */
/* Dummy irqactions.  */
struct irqaction isa_cascade_irqaction = {
struct irqaction isa_cascade_irqaction = {