Kernel: Don't instantiate and throw away ProcFS + DevPtsFS on boot

Oops, we were creating these and then throwing them away. They will
get instantiated a bit later, when we bring up the mounts in /etc/fstab
from userspace.
This commit is contained in:
Andreas Kling 2019-11-06 13:20:42 +01:00
parent 9a4b117f48
commit 4f4d4670fe

View file

@ -303,12 +303,6 @@ extern "C" [[noreturn]] void init()
auto e1000 = E1000NetworkAdapter::autodetect();
auto rtl8139 = RTL8139NetworkAdapter::autodetect();
NonnullRefPtr<ProcFS> new_procfs = ProcFS::create();
new_procfs->initialize();
auto devptsfs = DevPtsFS::create();
devptsfs->initialize();
Process::initialize();
Thread::initialize();
Process::create_kernel_process("init_stage2", init_stage2);