mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 17:52:26 -05:00
Kernel: Remove an unnecessary InterruptDisabler in SynthFS.
This commit is contained in:
parent
3fc3a8d7bc
commit
b5e5541cbc
Notes:
sideshowbarker
2024-07-19 15:50:25 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/b5e5541cbc8
1 changed files with 0 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue