Kernel: Remove unused function ProcFS::add_sys_string

This commit is contained in:
Brian Gianforcaro 2021-05-04 00:56:23 -07:00 committed by Andreas Kling
commit 869becc944
Notes: sideshowbarker 2024-07-18 18:43:53 +09:00
2 changed files with 0 additions and 14 deletions

View file

@ -961,19 +961,6 @@ void ProcFS::add_sys_bool(String&& name, Lockable<bool>& var, Function<void()>&&
sys_variables().append(move(variable));
}
void ProcFS::add_sys_string(String&& name, Lockable<String>& var, Function<void()>&& 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<bool>* kmalloc_stack_helper;