Kernel: Remove now unused REQUIRE_PROMISE and REQUIRE_NO_PROMISES macros

This commit is contained in:
Brian Gianforcaro 2021-12-29 00:18:40 -08:00 committed by Andreas Kling
parent 0f7fe1eb08
commit 89783d7843
Notes: sideshowbarker 2024-07-17 21:58:32 +09:00

View File

@ -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) \