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
Notes: sideshowbarker 2024-07-18 05:29:07 +09:00

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();