1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:37:45 +00:00

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

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