mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 10:12:25 -05:00
Kernel: Remove the now defunct RESTORE_LOCK(..)
macro.
This commit is contained in:
parent
04156d53ca
commit
0d5827f865
Notes:
sideshowbarker
2024-07-18 19:07:44 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/0d5827f8652 Pull-request: https://github.com/SerenityOS/serenity/pull/6601
2 changed files with 1 additions and 2 deletions
|
@ -128,7 +128,6 @@ private:
|
|||
};
|
||||
|
||||
#define LOCKER(...) Locker locker(__VA_ARGS__)
|
||||
#define RESTORE_LOCK(lock, ...) (lock).restore_lock(__VA_ARGS__)
|
||||
|
||||
template<typename T>
|
||||
class Lockable {
|
||||
|
|
|
@ -310,7 +310,7 @@ void Thread::relock_process(LockMode previous_locked, u32 lock_count_to_restore)
|
|||
|
||||
if (previous_locked != LockMode::Unlocked) {
|
||||
// We've unblocked, relock the process if needed and carry on.
|
||||
RESTORE_LOCK(process().big_lock(), previous_locked, lock_count_to_restore);
|
||||
process().big_lock().restore_lock(previous_locked, lock_count_to_restore);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue