1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:17:44 +00:00

Kernel/USB: Remove unused free function from QueueHead

This function is no longer required as the freeing is done
inside of the controller class through the pool interface.
This commit is contained in:
Jesse Buhagiar 2021-08-13 20:29:38 +10:00 committed by Andreas Kling
parent 3f94857e7c
commit 6666230d3e

View file

@ -296,12 +296,6 @@ struct alignas(16) QueueHead {
m_element_link_ptr = m_element_link_ptr | static_cast<u32>(LinkPointerBits::QHSelect);
}
// FIXME: Find out best way to walk queue and free everything
void free_transfer_queue([[maybe_unused]] QueueHead* qh)
{
TODO();
}
void terminate_with_stray_descriptor(TransferDescriptor* td)
{
m_link_ptr = td->paddr();