Kernel: Remove the now defunct RESTORE_LOCK(..) macro.

This commit is contained in:
Brian Gianforcaro 2021-04-24 15:24:30 -07:00 committed by Andreas Kling
parent 04156d53ca
commit 0d5827f865
Notes: sideshowbarker 2024-07-18 19:07:44 +09:00
2 changed files with 1 additions and 2 deletions

View file

@ -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 {

View file

@ -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);
}
}