From 7ab51b6df2f5c53f6a816285f0a4ddbd02ba0b2b Mon Sep 17 00:00:00 2001 From: Liav A Date: Fri, 6 May 2022 00:58:25 +0300 Subject: [PATCH] SystemServer: Remove search of a FramebufferDevice As the framebuffer devices are gone by now, searching for them makes no sense, so instead, let's remove this check now. If the user requested to boot into text mode, he probably knows what he is doing and we should not try to warn him about this. --- Userland/Services/SystemServer/main.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Userland/Services/SystemServer/main.cpp b/Userland/Services/SystemServer/main.cpp index b1407e357f..d0498cac0e 100644 --- a/Userland/Services/SystemServer/main.cpp +++ b/Userland/Services/SystemServer/main.cpp @@ -72,14 +72,6 @@ static ErrorOr determine_system_mode() g_system_mode = system_mode; dbgln("Read system_mode: {}", g_system_mode); - - // FIXME: Support more than one framebuffer detection - struct stat file_state; - int rc = lstat("/dev/fb0", &file_state); - if (rc == 0 && g_system_mode == "text") { - dbgln("WARNING: Text mode with framebuffers won't work as expected! Consider using 'fbdev=off'."); - } - dbgln("System in {} mode", g_system_mode); return {}; }