mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
Kernel: Remove unused variable Thread::m_userspace_stack_region
This commit is contained in:
parent
c21f384d17
commit
e23f05a157
Notes:
sideshowbarker
2024-07-19 10:14:53 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/e23f05a1572
2 changed files with 0 additions and 4 deletions
|
@ -126,9 +126,6 @@ Thread::~Thread()
|
||||||
if (selector())
|
if (selector())
|
||||||
gdt_free_entry(selector());
|
gdt_free_entry(selector());
|
||||||
|
|
||||||
if (m_userspace_stack_region)
|
|
||||||
m_process.deallocate_region(*m_userspace_stack_region);
|
|
||||||
|
|
||||||
ASSERT(m_process.m_thread_count);
|
ASSERT(m_process.m_thread_count);
|
||||||
m_process.m_thread_count--;
|
m_process.m_thread_count--;
|
||||||
}
|
}
|
||||||
|
|
|
@ -424,7 +424,6 @@ private:
|
||||||
u32 m_signal_mask { 0 };
|
u32 m_signal_mask { 0 };
|
||||||
u32 m_kernel_stack_base { 0 };
|
u32 m_kernel_stack_base { 0 };
|
||||||
u32 m_kernel_stack_top { 0 };
|
u32 m_kernel_stack_top { 0 };
|
||||||
Region* m_userspace_stack_region { nullptr };
|
|
||||||
OwnPtr<Region> m_kernel_stack_region;
|
OwnPtr<Region> m_kernel_stack_region;
|
||||||
VirtualAddress m_thread_specific_data;
|
VirtualAddress m_thread_specific_data;
|
||||||
SignalActionData m_signal_action_data[32];
|
SignalActionData m_signal_action_data[32];
|
||||||
|
|
Loading…
Reference in a new issue