x86, io_apic.c: Work around compiler warning
authorFigo.zhang <figo1802@gmail.com>
Wed, 17 Jun 2009 14:25:20 +0000 (22:25 +0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 17 Jun 2009 15:13:25 +0000 (17:13 +0200)
commit50a8d4d29735ec99139e58ea3cb11bed3331cf87
treec85332036e5b162dbba8bf091e5f5de1158ba470
parent5ce4243dcefbbc43791ffc36e1be55067ceec916
x86, io_apic.c: Work around compiler warning

This compiler warning:

  arch/x86/kernel/apic/io_apic.c: In function ‘ioapic_write_entry’:
  arch/x86/kernel/apic/io_apic.c:466: warning: ‘eu’ is used uninitialized in this function
  arch/x86/kernel/apic/io_apic.c:465: note: ‘eu’ was declared here

Is bogus as 'eu' is always initialized. But annotate it away by
initializing the variable, to make it easier for people to notice
real warnings. A compiler that sees through this logic will
optimize away the initialization.

Signed-off-by: Figo.zhang <figo1802@gmail.com>
LKML-Reference: <1245248720.3312.27.camel@myhost>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/io_apic.c