x86: fix warning in arch/x86/kernel/io_apic.c
authorIngo Molnar <mingo@elte.hu>
Thu, 18 Dec 2008 23:59:09 +0000 (00:59 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 19 Dec 2008 08:21:59 +0000 (09:21 +0100)
this warning:

  arch/x86/kernel/io_apic.c: In function ‘ir_set_msi_irq_affinity’:
  arch/x86/kernel/io_apic.c:3373: warning: ‘cfg’ may be used uninitialized in this function

triggers because the variable was truly uninitialized. We'd crash on
entering this code.

Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found