mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00:00
Kernel: Remove redundant return statement from Spinlock::lock()
Also from RecursiveSpinlock::lock()
This commit is contained in:
parent
5920b84696
commit
16d8556472
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