diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-06 15:32:58 +0100 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2011-03-02 20:57:59 +0100 |
commit | eb1e17fb9956eb3156f33cdcd880306102212661 (patch) | |
tree | ca11518acd987c82109bef8eaffd1a38e23bb132 /arch/alpha/kernel | |
parent | alpha: titan: Convert irq_chip functions (diff) | |
download | linux-eb1e17fb9956eb3156f33cdcd880306102212661.tar.xz linux-eb1e17fb9956eb3156f33cdcd880306102212661.zip |
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: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch/alpha/kernel')
-rw-r--r-- | arch/alpha/kernel/irq_alpha.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/arch/alpha/kernel/irq_alpha.c b/arch/alpha/kernel/irq_alpha.c index 2d0679b60939..411ca11d0a18 100644 --- a/arch/alpha/kernel/irq_alpha.c +++ b/arch/alpha/kernel/irq_alpha.c @@ -228,14 +228,9 @@ struct irqaction timer_irqaction = { void __init 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, - handle_simple_irq, "RTC"); - setup_irq(RTC_IRQ, &timer_irqaction); - } + set_irq_chip_and_handler_name(RTC_IRQ, &no_irq_chip, + handle_simple_irq, "RTC"); + setup_irq(RTC_IRQ, &timer_irqaction); } /* Dummy irqactions. */ |