diff --git a/Kernel/Graphics/GraphicsManagement.cpp b/Kernel/Graphics/GraphicsManagement.cpp index 4981641920..a3607dcbcc 100644 --- a/Kernel/Graphics/GraphicsManagement.cpp +++ b/Kernel/Graphics/GraphicsManagement.cpp @@ -32,8 +32,7 @@ bool GraphicsManagement::is_initialized() } UNMAP_AFTER_INIT GraphicsManagement::GraphicsManagement() - : m_vga_font_region(MM.allocate_kernel_region(PAGE_SIZE, "VGA font", Memory::Region::Access::ReadWrite, AllocationStrategy::AllocateNow).release_nonnull()) - , m_framebuffer_devices_allowed(!kernel_command_line().is_no_framebuffer_devices_mode()) + : m_framebuffer_devices_allowed(!kernel_command_line().is_no_framebuffer_devices_mode()) { } diff --git a/Kernel/Graphics/GraphicsManagement.h b/Kernel/Graphics/GraphicsManagement.h index ebfda332ee..7eb887ba85 100644 --- a/Kernel/Graphics/GraphicsManagement.h +++ b/Kernel/Graphics/GraphicsManagement.h @@ -49,7 +49,6 @@ public: private: bool determine_and_initialize_graphics_device(const PCI::Address& address, PCI::ID id); NonnullRefPtrVector m_graphics_devices; - NonnullOwnPtr m_vga_font_region; RefPtr m_console; // Note: there could be multiple VGA adapters, but only one can operate in VGA mode