1
0
mirror of https://github.com/speed47/spectre-meltdown-checker synced 2024-11-07 22:53:40 +01:00

fix(mds): remove useless display of MD_CLEAR info in non-hw section

This commit is contained in:
Stéphane Lesimple 2019-05-24 10:20:48 +02:00
parent 58a5acfdbb
commit dfe0d10f2a

View File

@ -4344,15 +4344,6 @@ check_mds()
sys_interface_available=1 sys_interface_available=1
fi fi
if [ "$opt_sysfs_only" != 1 ]; then if [ "$opt_sysfs_only" != 1 ]; then
_info_nol "* CPU supports the MD_CLEAR functionality: "
if [ "$cpuid_md_clear" = 1 ]; then
pstatus green YES
elif [ "$cpuid_md_clear" = 0 ]; then
pstatus yellow NO
else
pstatus yellow UNKNOWN "is cpuid module loaded?"
fi
_info_nol "* Kernel supports using MD_CLEAR mitigation: " _info_nol "* Kernel supports using MD_CLEAR mitigation: "
kernel_md_clear='' kernel_md_clear=''
kernel_md_clear_can_tell=1 kernel_md_clear_can_tell=1