summaryrefslogtreecommitdiff
path: root/Kernel/Devices/Device.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Devices/Device.cpp')
-rw-r--r--Kernel/Devices/Device.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/Kernel/Devices/Device.cpp b/Kernel/Devices/Device.cpp
index eda56e1cfe..934c587ba6 100644
--- a/Kernel/Devices/Device.cpp
+++ b/Kernel/Devices/Device.cpp
@@ -80,21 +80,4 @@ String Device::absolute_path(const FileDescription&) const
return absolute_path();
}
-void Device::process_next_queued_request(Badge<AsyncDeviceRequest>, const AsyncDeviceRequest& completed_request)
-{
- AsyncDeviceRequest* next_request = nullptr;
-
- {
- ScopedSpinLock lock(m_requests_lock);
- ASSERT(!m_requests.is_empty());
- ASSERT(m_requests.first().ptr() == &completed_request);
- m_requests.remove(m_requests.begin());
- if (!m_requests.is_empty())
- next_request = m_requests.first().ptr();
- }
-
- if (next_request)
- next_request->start();
-}
-
}