mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-19 07:49:05 +00:00
Kernel: Remove redundant return statement from Spinlock::lock()
Also from RecursiveSpinlock::lock()
This commit is contained in:
parent
5920b84696
commit
16d8556472
Notes:
sideshowbarker
2024-07-18 01:07:07 +09:00
Author: https://github.com/ADKaster
Commit: 16d8556472
Pull-request: https://github.com/SerenityOS/serenity/pull/10737
Reviewed-by: https://github.com/BenWiederhake
Reviewed-by: https://github.com/PeterBindels-TomTom
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/dascandy
Reviewed-by: https://github.com/trflynn89
1 changed files with 0 additions and 2 deletions
|
@ -31,7 +31,6 @@ public:
|
|||
}
|
||||
track_lock_acquire(m_rank);
|
||||
return prev_flags;
|
||||
return 0;
|
||||
}
|
||||
|
||||
ALWAYS_INLINE void unlock(u32 prev_flags)
|
||||
|
@ -90,7 +89,6 @@ public:
|
|||
track_lock_acquire(m_rank);
|
||||
m_recursions++;
|
||||
return prev_flags;
|
||||
return 0;
|
||||
}
|
||||
|
||||
ALWAYS_INLINE void unlock(u32 prev_flags)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue