summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/KernelKit/ThreadLocalStorage.inl
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/KernelKit/ThreadLocalStorage.inl')
-rw-r--r--src/kernel/KernelKit/ThreadLocalStorage.inl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/kernel/KernelKit/ThreadLocalStorage.inl b/src/kernel/KernelKit/ThreadLocalStorage.inl
index 8e33cff3..dff2de30 100644
--- a/src/kernel/KernelKit/ThreadLocalStorage.inl
+++ b/src/kernel/KernelKit/ThreadLocalStorage.inl
@@ -16,7 +16,6 @@ inline T* tls_new_ptr(void) {
using namespace Kernel;
auto ref_process = UserProcessScheduler::The().TheCurrentProcess();
- MUST_PASS(ref_process);
auto pointer = ref_process.Leak().New(sizeof(T));
@@ -34,7 +33,6 @@ inline Kernel::Bool tls_delete_ptr(T* obj) {
if (!obj) return No;
auto ref_process = UserProcessScheduler::The().TheCurrentProcess();
- MUST_PASS(ref_process);
ErrorOr<T*> obj_wrapped{obj};