From f5e676b2b7c5021a2e3d7e0bc788bed1aa582129 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Wed, 12 Apr 2023 00:20:04 +0300 Subject: [PATCH] Kernel: Fix TTY spinlock usage --- kernel/kernel/Terminal/TTY.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/kernel/Terminal/TTY.cpp b/kernel/kernel/Terminal/TTY.cpp index b9ffba9a..9f098716 100644 --- a/kernel/kernel/Terminal/TTY.cpp +++ b/kernel/kernel/Terminal/TTY.cpp @@ -67,7 +67,6 @@ namespace Kernel void TTY::on_key(Input::KeyEvent event) { - ASSERT(!m_lock.is_locked()); LockGuard _(m_lock); if (event.released())