diff options
author | Andreas Kling <kling@serenityos.org> | 2021-07-11 01:12:29 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-11 01:13:24 +0200 |
commit | 807aadbe6edabdd14d00aff2a00feb5dc718b11a (patch) | |
tree | ff51727766a1937dad8941eb29c120c7eb2ac6f3 /Kernel/FileSystem | |
parent | 98acebf56b7d248cc417fa3320e4e884ee5b29b2 (diff) | |
download | serenity-807aadbe6edabdd14d00aff2a00feb5dc718b11a.zip |
Kernel: Remove some dead code and unused includes in SysFS files
Diffstat (limited to 'Kernel/FileSystem')
-rw-r--r-- | Kernel/FileSystem/SysFS.cpp | 1 | ||||
-rw-r--r-- | Kernel/FileSystem/SysFS.h | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/Kernel/FileSystem/SysFS.cpp b/Kernel/FileSystem/SysFS.cpp index e0c1edb49d..a4276dab80 100644 --- a/Kernel/FileSystem/SysFS.cpp +++ b/Kernel/FileSystem/SysFS.cpp @@ -7,7 +7,6 @@ #include <AK/Singleton.h> #include <AK/StringView.h> #include <Kernel/FileSystem/SysFS.h> -#include <Kernel/FileSystem/VirtualFileSystem.h> #include <Kernel/Sections.h> namespace Kernel { diff --git a/Kernel/FileSystem/SysFS.h b/Kernel/FileSystem/SysFS.h index 41a272e360..99c079fdc2 100644 --- a/Kernel/FileSystem/SysFS.h +++ b/Kernel/FileSystem/SysFS.h @@ -6,14 +6,9 @@ #pragma once -#include <AK/Singleton.h> -#include <AK/String.h> -#include <AK/Types.h> #include <Kernel/FileSystem/FileSystem.h> #include <Kernel/FileSystem/Inode.h> -#include <Kernel/FileSystem/InodeMetadata.h> #include <Kernel/SystemExposed.h> -#include <Kernel/TTY/SlavePTY.h> namespace Kernel { @@ -97,7 +92,6 @@ protected: class SysFSDirectoryInode : public SysFSInode { friend class SysFS; - friend class SysFSRootDirectoryInode; public: static NonnullRefPtr<SysFSDirectoryInode> create(SysFS const&, SysFSComponent const&); |