diff options
author | Nikolay Borisov <[email protected]> | 2023-11-07 18:55:29 +0200 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2023-11-15 17:19:14 +0100 |
commit | 612905e13b8769caca7ec4194a8aceb24efa4d5c (patch) | |
tree | 4237e21c4ec85ed2c89aaa79a845f9aece21dcf5 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 9f3b130048bfa2e44a8cfb1b616f826d9d5d8188 (diff) |
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 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions