From 6ed30237251dc3310fc50ee710210d5c63459946 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())