Kernel: Remove unused mutex from xHCI

This was preventing multiple xHCI controllers to do parallel device
initialization
This commit is contained in:
Bananymous 2024-11-22 22:18:38 +02:00
parent 1bdabe693f
commit fb1ffec5bb
1 changed files with 0 additions and 4 deletions

View File

@ -271,8 +271,6 @@ namespace Kernel
return {}; return {};
} }
static Mutex s_port_mutex;
void XHCIController::port_updater_task() void XHCIController::port_updater_task()
{ {
// allow initial pass of port iteration because controller // allow initial pass of port iteration because controller
@ -293,8 +291,6 @@ namespace Kernel
for (size_t i = 0; i < m_ports.size(); i++) for (size_t i = 0; i < m_ports.size(); i++)
{ {
LockGuard _(s_port_mutex);
auto& my_port = m_ports[i]; auto& my_port = m_ports[i];
if (my_port.revision_major == 0) if (my_port.revision_major == 0)
continue; continue;