diff options
author | Liav A <liavalb@gmail.com> | 2022-07-15 04:58:51 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-07-15 12:23:22 +0200 |
commit | ebbc38cd2a40d88b29afe94854ec9f7e6a3d6f5b (patch) | |
tree | 7433e6291f0cd9d6617e8d54cf5da017c5427e82 /Kernel/Graphics/Bochs/GraphicsAdapter.cpp | |
parent | e5de5f4cf3720a99e92e55733df36ee79f257ad0 (diff) | |
download | serenity-ebbc38cd2a40d88b29afe94854ec9f7e6a3d6f5b.zip |
Kernel/Graphics: Remove GenericGraphicsAdapter::vga_compatible method
There's no point in keeping this method as we don't really care if a
graphics adapter is VGA compatible or not because we don't use this
method anymore.
Diffstat (limited to 'Kernel/Graphics/Bochs/GraphicsAdapter.cpp')
-rw-r--r-- | Kernel/Graphics/Bochs/GraphicsAdapter.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Kernel/Graphics/Bochs/GraphicsAdapter.cpp b/Kernel/Graphics/Bochs/GraphicsAdapter.cpp index 8ba489a918..e974c812a8 100644 --- a/Kernel/Graphics/Bochs/GraphicsAdapter.cpp +++ b/Kernel/Graphics/Bochs/GraphicsAdapter.cpp @@ -34,8 +34,6 @@ UNMAP_AFTER_INIT NonnullRefPtr<BochsGraphicsAdapter> BochsGraphicsAdapter::initi UNMAP_AFTER_INIT BochsGraphicsAdapter::BochsGraphicsAdapter(PCI::DeviceIdentifier const& pci_device_identifier) : PCI::Device(pci_device_identifier.address()) { - if (pci_device_identifier.class_code().value() == 0x3 && pci_device_identifier.subclass_code().value() == 0x0) - m_is_vga_capable = true; } UNMAP_AFTER_INIT ErrorOr<void> BochsGraphicsAdapter::initialize_adapter(PCI::DeviceIdentifier const& pci_device_identifier) @@ -67,9 +65,4 @@ UNMAP_AFTER_INIT ErrorOr<void> BochsGraphicsAdapter::initialize_adapter(PCI::Dev return {}; } -bool BochsGraphicsAdapter::vga_compatible() const -{ - return m_is_vga_capable; -} - } |