From d4bfb479fdda7173274fd152b4e5f9da5279c379 Mon Sep 17 00:00:00 2001 From: Liav A Date: Fri, 12 Aug 2022 08:38:44 +0300 Subject: [PATCH] Kernel/Commandline: Remove a remainder of the removed boot_mode flag --- Kernel/CommandLine.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Kernel/CommandLine.cpp b/Kernel/CommandLine.cpp index 19f35ae155..675896bd93 100644 --- a/Kernel/CommandLine.cpp +++ b/Kernel/CommandLine.cpp @@ -45,12 +45,6 @@ UNMAP_AFTER_INIT void CommandLine::initialize() dmesgln("Kernel Commandline: {}", kernel_command_line().string()); // Validate the modes the user passed in. (void)s_the->panic_mode(Validate::Yes); - if (s_the->contains("boot_mode"sv)) { - // I know, we don't do legacy, but even though I eliminated 'boot_mode' from the codebase, there - // is a good chance that someone's still using it. Let's be nice and tell them where to look. - // TODO: Remove this in 2022. - PANIC("'boot_mode' is now split into panic=[halt|shutdown], graphics_subsystem_mode=[on|limited|off], and system_mode=[graphical|text|selftest]."); - } } UNMAP_AFTER_INIT NonnullOwnPtr CommandLine::build_commandline(StringView cmdline_from_bootloader)