1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:47:44 +00:00

Kernel: Remove Badged VirtIOGraphicsAdapter::allocate_FOO_id() methods

These are unused, so let's remove them. `number_of_fixmes--;` :^)
This commit is contained in:
Sam Atkins 2022-12-14 14:15:26 +00:00 committed by Linus Groh
parent 626142c312
commit 3597f4a490
2 changed files with 0 additions and 14 deletions

View file

@ -161,17 +161,6 @@ void VirtIOGraphicsAdapter::initialize()
}
}
Graphics::VirtIOGPU::ResourceID VirtIOGraphicsAdapter::allocate_resource_id(Badge<VirtIODisplayConnector>)
{
return m_resource_id_counter++;
}
Graphics::VirtIOGPU::ContextID VirtIOGraphicsAdapter::allocate_context_id(Badge<VirtIODisplayConnector>)
{
// FIXME: This should really be tracked using a bitmap, instead of an atomic counter
return m_context_id_counter++;
}
bool VirtIOGraphicsAdapter::handle_device_config_change()
{
auto events = get_pending_events();