diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp index 290c8cf0ae..4e75e11f43 100644 --- a/Kernel/Process.cpp +++ b/Kernel/Process.cpp @@ -19,7 +19,6 @@ #include "FIFO.h" #include "KSyms.h" #include -#include #include #include "MasterPTY.h" #include "elf.h" @@ -2228,17 +2227,6 @@ bool Process::tick() return --m_ticks_left; } -DisplayInfo Process::set_video_resolution(int width, int height) -{ - DisplayInfo info; - info.width = width; - info.height = height; - info.bpp = 32; - info.pitch = width * 4; - BochsVGADevice::the().set_resolution(width, height); - return info; -} - int Process::sys$socket(int domain, int type, int protocol) { if (number_of_open_file_descriptors() >= m_max_open_file_descriptors) diff --git a/Kernel/Process.h b/Kernel/Process.h index e75b2279ee..3c6396875b 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -223,8 +223,6 @@ public: int sys$accept(int sockfd, sockaddr*, socklen_t*); int sys$connect(int sockfd, const sockaddr*, socklen_t); - DisplayInfo set_video_resolution(int width, int height); - bool wait_for_connect(Socket&, int& error); static void initialize();