kernel/riscv64: remove unused code

Change-Id: Ia140c962b3ae70faac3c9ae19125b0e245326586
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6743
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
X512 2023-07-08 03:48:05 +09:00 committed by waddlesplash
parent 528d532174
commit ae65daec10

View File

@ -47,17 +47,6 @@ arch_thread_init_thread_struct(Thread *thread)
}
static inline VMAddressSpace*
GetThreadAddressSpace(Thread* thread)
{
/*
if (thread->team == team_get_kernel_team())
return VMAddressSpace::Kernel();
*/
return thread->team->address_space;
}
void
arch_thread_init_kthread_stack(Thread* thread, void* _stack, void* _stackTop,
void (*function)(void*), const void* data)