diff options
author | 2023-11-07 18:55:29 +0200 | |
---|---|---|
committer | 2023-11-15 17:19:14 +0100 | |
commit | 612905e13b8769caca7ec4194a8aceb24efa4d5c (patch) | |
tree | 4237e21c4ec85ed2c89aaa79a845f9aece21dcf5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | x86/mce: Mark fatal MCE's page as poison to avoid panic in the kdump kernel (diff) | |
download | wireguard-linux-612905e13b8769caca7ec4194a8aceb24efa4d5c.tar.xz wireguard-linux-612905e13b8769caca7ec4194a8aceb24efa4d5c.zip |
x86/mce: Remove redundant check from mce_device_create()
mce_device_create() is called only from mce_cpu_online() which in turn
will be called iff MCA support is available. That is, at the time of
mce_device_create() call it's guaranteed that MCA support is available.
No need to duplicate this check so remove it.
[ bp: Massage commit message. ]
Signed-off-by: Nikolay Borisov <nik.borisov@suse.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20231107165529.407349-1-nik.borisov@suse.com
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions