mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
x86/boot: Use bool and IS_ENABLED() to simplify query_edd()
In query_edd(), use bool for do_edd and initialize it directly from CONFIG_EDD_OFF via IS_ENABLED(). Also use bool for do_mbr and be_quiet. No change in functionality intended. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://patch.msgid.link/20260804115227.62158-5-thorsten.blum@linux.dev
This commit is contained in:
parent
2ea3973d4f
commit
2082fec6d4
1 changed files with 7 additions and 11 deletions
Loading…
Add table
Add a link
Reference in a new issue