diff --git a/Kernel/FileSystem/ProcFS.cpp b/Kernel/FileSystem/ProcFS.cpp index 2eb6ead4d0..af96914af0 100644 --- a/Kernel/FileSystem/ProcFS.cpp +++ b/Kernel/FileSystem/ProcFS.cpp @@ -961,19 +961,6 @@ void ProcFS::add_sys_bool(String&& name, Lockable& var, Function&& sys_variables().append(move(variable)); } -void ProcFS::add_sys_string(String&& name, Lockable& var, Function&& notify_callback) -{ - InterruptDisabler disabler; - - SysVariable variable; - variable.name = move(name); - variable.type = SysVariable::Type::String; - variable.notify_callback = move(notify_callback); - variable.address = &var; - - sys_variables().append(move(variable)); -} - bool ProcFS::initialize() { static Lockable* kmalloc_stack_helper; diff --git a/Kernel/FileSystem/ProcFS.h b/Kernel/FileSystem/ProcFS.h index 8e8237a3ae..d8616eadb9 100644 --- a/Kernel/FileSystem/ProcFS.h +++ b/Kernel/FileSystem/ProcFS.h @@ -32,7 +32,6 @@ public: virtual NonnullRefPtr root_inode() const override; static void add_sys_bool(String&&, Lockable&, Function&& notify_callback = nullptr); - static void add_sys_string(String&&, Lockable&, Function&& notify_callback = nullptr); private: ProcFS();