chg: remove --no-intel-db, it's now always used when available

This commit is contained in:
Stéphane Lesimple
2026-04-08 20:53:35 +02:00
parent 9e617a4363
commit f1c0d5548c
3 changed files with 1 additions and 9 deletions
+1 -4
View File
@@ -26,10 +26,7 @@ read_mcedb() {
# Read the Intel official affected CPUs database (builtin) to stdout
read_inteldb() {
if [ "$opt_intel_db" = 1 ]; then
awk '/^# %%% ENDOFINTELDB/ { exit } { if (DELIM==1) { print $2 } } /^# %%% INTELDB/ { DELIM=1 }' "$0"
fi
# otherwise don't output nothing, it'll be as if the database is empty
awk '/^# %%% ENDOFINTELDB/ { exit } { if (DELIM==1) { print $2 } } /^# %%% INTELDB/ { DELIM=1 }' "$0"
}
# Check whether the CPU is running the latest known microcode version