diff options
| author | Nikolay Borisov <[email protected]> | 2023-11-07 16:55:29 +0000 |
|---|---|---|
| committer | Borislav Petkov (AMD) <[email protected]> | 2023-11-15 16:19:14 +0000 |
| commit | 612905e13b8769caca7ec4194a8aceb24efa4d5c (patch) | |
| tree | 4237e21c4ec85ed2c89aaa79a845f9aece21dcf5 /tools/testing/selftests/bpf/prog_tests/recursion.c | |
| parent | x86/mce: Mark fatal MCE's page as poison to avoid panic in the kdump kernel (diff) | |
| download | kernel-612905e13b8769caca7ec4194a8aceb24efa4d5c.tar.gz kernel-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 <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions
