Kernel: Fix TTY spinlock usage

This commit is contained in:
Bananymous 2023-04-12 00:20:04 +03:00
parent 8e5e5f819f
commit f5e676b2b7
1 changed files with 0 additions and 1 deletions

View File

@ -67,7 +67,6 @@ namespace Kernel
void TTY::on_key(Input::KeyEvent event) void TTY::on_key(Input::KeyEvent event)
{ {
ASSERT(!m_lock.is_locked());
LockGuard _(m_lock); LockGuard _(m_lock);
if (event.released()) if (event.released())