From 8d6e9fad40d493e6f2027cec37212956294a591f Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Sat, 24 Apr 2021 15:27:32 -0700 Subject: Kernel: Remove the now defunct `LOCKER(..)` macro. --- Kernel/TTY/PTYMultiplexer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Kernel/TTY/PTYMultiplexer.cpp') diff --git a/Kernel/TTY/PTYMultiplexer.cpp b/Kernel/TTY/PTYMultiplexer.cpp index 1df690cc5c..ae19e6f8ad 100644 --- a/Kernel/TTY/PTYMultiplexer.cpp +++ b/Kernel/TTY/PTYMultiplexer.cpp @@ -36,7 +36,7 @@ UNMAP_AFTER_INIT PTYMultiplexer::~PTYMultiplexer() KResultOr> PTYMultiplexer::open(int options) { - LOCKER(m_lock); + Locker locker(m_lock); if (m_freelist.is_empty()) return EBUSY; auto master_index = m_freelist.take_last(); @@ -52,7 +52,7 @@ KResultOr> PTYMultiplexer::open(int options) void PTYMultiplexer::notify_master_destroyed(Badge, unsigned index) { - LOCKER(m_lock); + Locker locker(m_lock); m_freelist.append(index); dbgln_if(PTMX_DEBUG, "PTYMultiplexer: {} added to freelist", index); } -- cgit v1.2.3