summaryrefslogtreecommitdiff
path: root/Userland/Services
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2022-05-06 00:58:25 +0300
committerLinus Groh <mail@linusgroh.de>2022-05-06 12:28:19 +0200
commit7ab51b6df2f5c53f6a816285f0a4ddbd02ba0b2b (patch)
tree8c65a3552e1cf0b30cbcd49da4697598a4a7cc3d /Userland/Services
parent0d784de3a666898ba40c00fdac85917e4426437e (diff)
downloadserenity-7ab51b6df2f5c53f6a816285f0a4ddbd02ba0b2b.zip
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.
Diffstat (limited to 'Userland/Services')
-rw-r--r--Userland/Services/SystemServer/main.cpp8
1 files changed, 0 insertions, 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<void> 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 {};
}