Kernel: Fix TTY spinlock usage
This commit is contained in:
parent
8e5e5f819f
commit
f5e676b2b7
|
@ -67,7 +67,6 @@ namespace Kernel
|
|||
|
||||
void TTY::on_key(Input::KeyEvent event)
|
||||
{
|
||||
ASSERT(!m_lock.is_locked());
|
||||
LockGuard _(m_lock);
|
||||
|
||||
if (event.released())
|
||||
|
|
Loading…
Reference in New Issue