aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apic/io_apic.c
diff options
context:
space:
mode:
authorJiang Liu <jiang.liu@linux.intel.com>2014-06-09 04:19:40 -0400
committerThomas Gleixner <tglx@linutronix.de>2014-06-21 17:05:41 -0400
commit4035ed0134b2dc545a0b22e3c052f684786649d4 (patch)
tree823614767d8e929f266b4da0f0280b4e84e79426 /arch/x86/kernel/apic/io_apic.c
parent3eb2be5f49fdeac5ea2880aec90008f0a8250029 (diff)
x86, ioapic: Kill unused global variable timer_through_8259
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Cc: Tony Luck <tony.luck@intel.com> Cc: Joerg Roedel <joro@8bytes.org> Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Grant Likely <grant.likely@linaro.org> Cc: Rafael J. Wysocki <rjw@rjwysocki.net> Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: Randy Dunlap <rdunlap@infradead.org> Cc: Yinghai Lu <yinghai@kernel.org> Link: http://lkml.kernel.org/r/1402302011-23642-12-git-send-email-jiang.liu@linux.intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/apic/io_apic.c')
-rw-r--r--arch/x86/kernel/apic/io_apic.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c
index f3390424d86e..18ab95b6f1db 100644
--- a/arch/x86/kernel/apic/io_apic.c
+++ b/arch/x86/kernel/apic/io_apic.c
@@ -2638,8 +2638,6 @@ static int __init disable_timer_pin_setup(char *arg)
2638} 2638}
2639early_param("disable_timer_pin_1", disable_timer_pin_setup); 2639early_param("disable_timer_pin_1", disable_timer_pin_setup);
2640 2640
2641int timer_through_8259 __initdata;
2642
2643/* 2641/*
2644 * This code may look a bit paranoid, but it's supposed to cooperate with 2642 * This code may look a bit paranoid, but it's supposed to cooperate with
2645 * a wide range of boards and BIOS bugs. Fortunately only the timer IRQ 2643 * a wide range of boards and BIOS bugs. Fortunately only the timer IRQ
@@ -2744,7 +2742,6 @@ static inline void __init check_timer(void)
2744 legacy_pic->unmask(0); 2742 legacy_pic->unmask(0);
2745 if (timer_irq_works()) { 2743 if (timer_irq_works()) {
2746 apic_printk(APIC_QUIET, KERN_INFO "....... works.\n"); 2744 apic_printk(APIC_QUIET, KERN_INFO "....... works.\n");
2747 timer_through_8259 = 1;
2748 goto out; 2745 goto out;
2749 } 2746 }
2750 /* 2747 /*