kernel/riscv64: remove unused code
Change-Id: Ia140c962b3ae70faac3c9ae19125b0e245326586 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6743 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
@@ -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
|
void
|
||||||
arch_thread_init_kthread_stack(Thread* thread, void* _stack, void* _stackTop,
|
arch_thread_init_kthread_stack(Thread* thread, void* _stack, void* _stackTop,
|
||||||
void (*function)(void*), const void* data)
|
void (*function)(void*), const void* data)
|
||||||
|
|||||||
Reference in New Issue
Block a user