diff options
author | Brian Gianforcaro <bgianf@serenityos.org> | 2021-04-24 15:27:32 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-25 09:38:27 +0200 |
commit | 8d6e9fad40d493e6f2027cec37212956294a591f (patch) | |
tree | 71816f325880a99ef5b623d9795f2eded3d69ca7 /Kernel/TTY/PTYMultiplexer.cpp | |
parent | 0d5827f8652462715f6c2f91e2b91b2077547ae6 (diff) | |
download | serenity-8d6e9fad40d493e6f2027cec37212956294a591f.zip |
Kernel: Remove the now defunct `LOCKER(..)` macro.
Diffstat (limited to 'Kernel/TTY/PTYMultiplexer.cpp')
-rw-r--r-- | Kernel/TTY/PTYMultiplexer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<NonnullRefPtr<FileDescription>> 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<NonnullRefPtr<FileDescription>> PTYMultiplexer::open(int options) void PTYMultiplexer::notify_master_destroyed(Badge<MasterPTY>, unsigned index) { - LOCKER(m_lock); + Locker locker(m_lock); m_freelist.append(index); dbgln_if(PTMX_DEBUG, "PTYMultiplexer: {} added to freelist", index); } |