x86: fix arch/x86/kernel/cpu/mtrr/main.c warning
authorYinghai Lu <yhlu.kernel@gmail.com>
Fri, 19 Sep 2008 06:55:27 +0000 (23:55 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 19 Sep 2008 07:16:06 +0000 (09:16 +0200)
fix this warning reported by Andrew Morton:

> arch/x86/kernel/cpu/mtrr/main.c: In function 'mtrr_bp_init':
> arch/x86/kernel/cpu/mtrr/main.c:1170: warning: 'extra_remove_base' may be used uninitialized in this function

the warning is bogus but the logic that prevents uninitialized use
is a bit convoluted so simplify it all.

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

No differences found