Kernel: Remove an unnecessary InterruptDisabler in SynthFS.

This commit is contained in:
Andreas Kling 2019-02-07 10:42:00 +01:00
parent 3fc3a8d7bc
commit b5e5541cbc
Notes: sideshowbarker 2024-07-19 15:50:25 +09:00

View file

@ -3,11 +3,6 @@
#include <LibC/errno_numbers.h>
#include <AK/StdLibExtras.h>
#ifndef SERENITY
typedef int InterruptDisabler;
#define ASSERT_INTERRUPTS_DISABLED()
#endif
//#define SYNTHFS_DEBUG
RetainPtr<SynthFS> SynthFS::create()
@ -223,7 +218,6 @@ ssize_t SynthFSInode::read_bytes(off_t offset, size_t count, byte* buffer, FileD
bool SynthFSInode::traverse_as_directory(Function<bool(const FS::DirectoryEntry&)> callback) const
{
InterruptDisabler disabler;
#ifdef SYNTHFS_DEBUG
kprintf("SynthFS: traverse_as_directory %u\n", index());
#endif