diff --git a/Kernel/Debug.h.in b/Kernel/Debug.h.in index 9b652ef8d8..8bc28d56d1 100644 --- a/Kernel/Debug.h.in +++ b/Kernel/Debug.h.in @@ -86,10 +86,6 @@ #cmakedefine01 EXT2_VERY_DEBUG #endif -#ifndef FIFO_DEBUG -#cmakedefine01 FIFO_DEBUG -#endif - #ifndef FILEDESCRIPTION_DEBUG #cmakedefine01 FILEDESCRIPTION_DEBUG #endif diff --git a/Kernel/FileSystem/FIFO.cpp b/Kernel/FileSystem/FIFO.cpp index 952fce5f13..088f98b585 100644 --- a/Kernel/FileSystem/FIFO.cpp +++ b/Kernel/FileSystem/FIFO.cpp @@ -28,7 +28,6 @@ #include #include #include -#include #include #include #include @@ -115,14 +114,8 @@ void FIFO::attach(Direction direction) { if (direction == Direction::Reader) { ++m_readers; -#if FIFO_DEBUG - klog() << "open reader (" << m_readers << ")"; -#endif } else if (direction == Direction::Writer) { ++m_writers; -#if FIFO_DEBUG - klog() << "open writer (" << m_writers << ")"; -#endif } evaluate_block_conditions(); @@ -131,15 +124,9 @@ void FIFO::attach(Direction direction) void FIFO::detach(Direction direction) { if (direction == Direction::Reader) { -#if FIFO_DEBUG - klog() << "close reader (" << m_readers << " - 1)"; -#endif VERIFY(m_readers); --m_readers; } else if (direction == Direction::Writer) { -#if FIFO_DEBUG - klog() << "close writer (" << m_writers << " - 1)"; -#endif VERIFY(m_writers); --m_writers; } diff --git a/Meta/CMake/all_the_debug_macros.cmake b/Meta/CMake/all_the_debug_macros.cmake index f6f1e62ca8..c9fb60cfc0 100644 --- a/Meta/CMake/all_the_debug_macros.cmake +++ b/Meta/CMake/all_the_debug_macros.cmake @@ -120,7 +120,6 @@ set(EVENTLOOP_DEBUG ON) set(EXEC_DEBUG ON) set(EXT2_DEBUG ON) set(EXT2_VERY_DEBUG ON) -set(FIFO_DEBUG ON) set(GEMINI_DEBUG ON) set(GEMINIJOB_DEBUG ON) set(GENERATE_DEBUG_CODE ON)