mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
Kernel: Remove the now defunct LOCKER(..) macro.
This commit is contained in:
committed by
Andreas Kling
parent
0d5827f865
commit
8d6e9fad40
@@ -74,7 +74,7 @@ KResultOr<NonnullRefPtr<FileDescription>> FIFO::open_direction_blocking(FIFO::Di
|
||||
FIFO::FIFO(uid_t uid)
|
||||
: m_uid(uid)
|
||||
{
|
||||
LOCKER(all_fifos().lock());
|
||||
Locker locker(all_fifos().lock());
|
||||
all_fifos().resource().set(this);
|
||||
m_fifo_id = ++s_next_fifo_id;
|
||||
|
||||
@@ -86,7 +86,7 @@ FIFO::FIFO(uid_t uid)
|
||||
|
||||
FIFO::~FIFO()
|
||||
{
|
||||
LOCKER(all_fifos().lock());
|
||||
Locker locker(all_fifos().lock());
|
||||
all_fifos().resource().remove(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user