mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:57:45 +00:00
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.
This commit is contained in:
parent
0d784de3a6
commit
7ab51b6df2
1 changed files with 0 additions and 8 deletions
|
@ -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 {};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue