Kernel: Remove unused variable Thread::m_userspace_stack_region

This commit is contained in:
Andreas Kling 2020-01-09 12:30:17 +01:00
parent c21f384d17
commit e23f05a157
Notes: sideshowbarker 2024-07-19 10:14:53 +09:00
2 changed files with 0 additions and 4 deletions

View file

@ -126,9 +126,6 @@ Thread::~Thread()
if (selector())
gdt_free_entry(selector());
if (m_userspace_stack_region)
m_process.deallocate_region(*m_userspace_stack_region);
ASSERT(m_process.m_thread_count);
m_process.m_thread_count--;
}

View file

@ -424,7 +424,6 @@ private:
u32 m_signal_mask { 0 };
u32 m_kernel_stack_base { 0 };
u32 m_kernel_stack_top { 0 };
Region* m_userspace_stack_region { nullptr };
OwnPtr<Region> m_kernel_stack_region;
VirtualAddress m_thread_specific_data;
SignalActionData m_signal_action_data[32];