diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-02-26 00:36:43 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-02-27 16:48:40 +0300 |
commit | 17dbedb5da184b501c5c51fc78d1071005139e48 (patch) | |
tree | 79c30b7c3dbdcf828d43bb9e567d2468960d8dfc /arch/x86/kernel/irq.c | |
parent | 3ba4f0a633ca4bfeadb24eba19cb53ebe246eabf (diff) | |
download | linux-17dbedb5da184b501c5c51fc78d1071005139e48.tar.xz |
x86/irq: Remove useless return value from do_IRQ()
Nothing is using it.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Reviewed-by: Andy Lutomirski <luto@kernel.org>
Link: https://lkml.kernel.org/r/20200225220216.826870369@linutronix.de
Diffstat (limited to 'arch/x86/kernel/irq.c')
-rw-r--r-- | arch/x86/kernel/irq.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c index 21efee32e2b1..c7965ff429c5 100644 --- a/arch/x86/kernel/irq.c +++ b/arch/x86/kernel/irq.c @@ -230,7 +230,7 @@ u64 arch_irq_stat(void) * SMP cross-CPU interrupts have their own specific * handlers). */ -__visible unsigned int __irq_entry do_IRQ(struct pt_regs *regs) +__visible void __irq_entry do_IRQ(struct pt_regs *regs) { struct pt_regs *old_regs = set_irq_regs(regs); struct irq_desc * desc; @@ -263,7 +263,6 @@ __visible unsigned int __irq_entry do_IRQ(struct pt_regs *regs) exiting_irq(); set_irq_regs(old_regs); - return 1; } #ifdef CONFIG_X86_LOCAL_APIC |