Kernel: Remove some unnecessary zero initialization now that BSS is cleared.

This commit is contained in:
Andreas Kling 2019-02-07 10:31:32 +01:00
parent 2e663eda36
commit 3fc3a8d7bc
2 changed files with 0 additions and 5 deletions

View file

@ -317,12 +317,9 @@ Process* Scheduler::colonel()
void Scheduler::initialize()
{
memset(&s_redirection, 0, sizeof(s_redirection));
s_redirection.selector = gdt_alloc_entry();
initialize_redirection();
s_colonel_process = Process::create_kernel_process("colonel", nullptr);
current = nullptr;
g_last_fpu_process = nullptr;
load_task_register(s_redirection.selector);
}

View file

@ -169,8 +169,6 @@ void init()
MemoryManager::initialize();
PIT::initialize();
memset(&system, 0, sizeof(system));
new BochsVGADevice;
auto new_procfs = ProcFS::create();