Kernel: Remove SpinLock from Pipe

Pipe already is using lock on the inode. If you read from pipe when
there was no data, pipe blocked indefinately since writes were blocked
by Inode::m_lock.
This commit is contained in:
Bananymous 2024-02-14 17:21:32 +02:00
parent de629291b9
commit f73e954b28
1 changed files with 0 additions and 1 deletions

View File

@ -48,7 +48,6 @@ namespace Kernel
timespec m_mtime {};
timespec m_ctime {};
BAN::Vector<uint8_t> m_buffer;
SpinLock m_lock;
Semaphore m_semaphore;
uint32_t m_writing_count { 1 };