summaryrefslogtreecommitdiff
path: root/Kernel/Process.h
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-12-29 00:18:40 -0800
committerAndreas Kling <kling@serenityos.org>2021-12-29 18:08:15 +0100
commit89783d7843245d47fc422917f9606db42d44cf63 (patch)
tree7a551f2415950db704c34ecf925142c705c1a28f /Kernel/Process.h
parent0f7fe1eb08851e481ee760528362b71d5124eaf5 (diff)
downloadserenity-89783d7843245d47fc422917f9606db42d44cf63.zip
Kernel: Remove now unused REQUIRE_PROMISE and REQUIRE_NO_PROMISES macros
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r--Kernel/Process.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h
index ded36bdb78..8085ef21be 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -956,16 +956,6 @@ inline ProcessID Thread::pid() const
return m_process->pid();
}
-#define REQUIRE_PROMISE(promise) \
- do { \
- Process::current().require_promise(Pledge::promise); \
- } while (0)
-
-#define REQUIRE_NO_PROMISES \
- do { \
- Process::current().require_no_promises(); \
- } while (0)
-
}
#define VERIFY_PROCESS_BIG_LOCK_ACQUIRED(process) \