summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorMichel Hermier <michel.hermier@gmail.com>2021-03-25 11:19:22 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-26 16:54:05 +0100
commitff0d4c6f7c5ab4f9adbf5ba1c8f0ba24221b5b62 (patch)
tree60333b01fff2dcd9394692bdee4aadf87115566f /Kernel
parent51ad3da9997ea8ee076b614db3a32d20daa6beb4 (diff)
downloadserenity-ff0d4c6f7c5ab4f9adbf5ba1c8f0ba24221b5b62.zip
Kernel: Remove unused WorkQueue::m_name.
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/WorkQueue.cpp1
-rw-r--r--Kernel/WorkQueue.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/Kernel/WorkQueue.cpp b/Kernel/WorkQueue.cpp
index 7078408abf..fdb8f74028 100644
--- a/Kernel/WorkQueue.cpp
+++ b/Kernel/WorkQueue.cpp
@@ -39,7 +39,6 @@ void WorkQueue::initialize()
}
WorkQueue::WorkQueue(const char* name)
- : m_name(name)
{
RefPtr<Thread> thread;
Process::create_kernel_process(thread, name, [this] {
diff --git a/Kernel/WorkQueue.h b/Kernel/WorkQueue.h
index a37a41accf..bf62d84cc0 100644
--- a/Kernel/WorkQueue.h
+++ b/Kernel/WorkQueue.h
@@ -84,7 +84,6 @@ private:
void do_queue(WorkItem*);
- const char* const m_name;
RefPtr<Thread> m_thread;
WaitQueue m_wait_queue;
IntrusiveList<WorkItem, &WorkItem::m_node> m_items;