• Yinghai Lu's avatar
    x86: fix arch/x86/kernel/cpu/mtrr/main.c warning · 279b0bbb
    Yinghai Lu authored
    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: default avatarIngo Molnar <mingo@elte.hu>
    279b0bbb
main.c 44.2 KB