x86/time: Eliminate unused irq0_irqs counter
authorJan Beulich <JBeulich@suse.com>
Fri, 24 Feb 2012 11:50:27 +0000 (11:50 +0000)
committerIngo Molnar <mingo@elte.hu>
Mon, 27 Feb 2012 07:46:25 +0000 (08:46 +0100)
As of v2.6.38 this counter is being maintained without ever being
read.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Link: http://lkml.kernel.org/r/4F4787930200007800074A10@nat28.tlf.novell.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/hardirq.h
arch/x86/kernel/time.c

index da0b3ca815b7a302986f8eb24262a4ffadefaf63..382f75d735f36723a40383fa9d71955ac9779eda 100644 (file)
@@ -7,7 +7,6 @@
 typedef struct {
        unsigned int __softirq_pending;
        unsigned int __nmi_count;       /* arch dependent */
-       unsigned int irq0_irqs;
 #ifdef CONFIG_X86_LOCAL_APIC
        unsigned int apic_timer_irqs;   /* arch dependent */
        unsigned int irq_spurious_count;
index dd5fbf4101fc393a3edad3bb3a569a1ed63269fa..c6eba2b4267361ada800b4e0797e4d6aec3607d7 100644 (file)
@@ -57,9 +57,6 @@ EXPORT_SYMBOL(profile_pc);
  */
 static irqreturn_t timer_interrupt(int irq, void *dev_id)
 {
-       /* Keep nmi watchdog up to date */
-       inc_irq_stat(irq0_irqs);
-
        global_clock_event->event_handler(global_clock_event);
 
        /* MCA bus quirk: Acknowledge irq0 by setting bit 7 in port 0x61 */