diff options
author | 2024-02-01 01:46:04 -0800 | |
---|---|---|
committer | 2024-02-27 22:00:50 +0100 | |
commit | 47403a4b49767f1d533e4dc5f5cf5cc957f22a5e (patch) | |
tree | 81701795c6a6742162bcb18c23fca6bcc8c81d1c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | x86/apm_32: Remove dead function apm_get_battery_status() (diff) | |
download | linux-rng-47403a4b49767f1d533e4dc5f5cf5cc957f22a5e.tar.xz linux-rng-47403a4b49767f1d533e4dc5f5cf5cc957f22a5e.zip |
x86/nmi: Remove an unnecessary IS_ENABLED(CONFIG_SMP)
IS_ENABLED(CONFIG_SMP) is unnecessary here: smp_processor_id() should
always return zero on UP, and arch_cpu_is_offline() reduces to
!(cpu == 0), so this is a statically false condition on UP.
Suggested-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Signed-off-by: Xin Li (Intel) <xin@zytor.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240201094604.3918141-1-xin@zytor.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions