Skip to content

Commit

Permalink
fix(mds): remove useless display of MD_CLEAR info in non-hw section
Browse files Browse the repository at this point in the history
  • Loading branch information
speed47 committed May 24, 2019
1 parent 58a5acf commit dfe0d10
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions spectre-meltdown-checker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4344,15 +4344,6 @@ check_mds()
sys_interface_available=1
fi
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: "
kernel_md_clear=''
kernel_md_clear_can_tell=1
Expand Down

0 comments on commit dfe0d10

Please sign in to comment.