diff options
author | Simon Glass <sjg@chromium.org> | 2020-07-17 08:48:15 -0600 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2020-07-20 09:46:44 +0800 |
commit | 8bccbc5ac006d9bd14aca438a7b45ac9f583f8c5 (patch) | |
tree | 97a24fd561bdcb34a25ba779ef4ca9157706a150 /arch/x86/cpu/i386/cpu.c | |
parent | 20b049e88548a88bac3609fae99790bb79ee1233 (diff) |
x86: cpu: Remove unnecessary #ifdefs
Drop some #ifdefs that are not needed or can be converted to compile-time
checks.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/cpu/i386/cpu.c')
-rw-r--r-- | arch/x86/cpu/i386/cpu.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/cpu/i386/cpu.c b/arch/x86/cpu/i386/cpu.c index 55a0907bc8..8f342dd06e 100644 --- a/arch/x86/cpu/i386/cpu.c +++ b/arch/x86/cpu/i386/cpu.c @@ -631,7 +631,6 @@ int cpu_jump_to_64bit_uboot(ulong target) return -EFAULT; } -#ifdef CONFIG_SMP int x86_mp_init(void) { int ret; @@ -644,4 +643,3 @@ int x86_mp_init(void) return 0; } -#endif |