mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 01:37:39 +03:00
Kernel: Remove now unused REQUIRE_PROMISE and REQUIRE_NO_PROMISES macros
This commit is contained in:
parent
0f7fe1eb08
commit
89783d7843
Notes:
sideshowbarker
2024-07-17 21:58:32 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/89783d78432 Pull-request: https://github.com/SerenityOS/serenity/pull/11476
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user