Skip to content

Commit

Permalink
Remove unnecessary memory cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
djphoenix committed Nov 22, 2016
1 parent 776aabf commit 5994b5e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/process/processmanager.cpp
Expand Up @@ -46,8 +46,6 @@ ProcessManager::ProcessManager() {
nextThread = lastThread = 0;
uint64_t cpus = ACPI::getController()->getCPUCount();
cpuThreads = new QueuedThread*[cpus]();
for (uint64_t c = 0; c < cpus; c++)
cpuThreads[c] = 0;
Interrupts::addCallback(0x20, &ProcessManager::TimerHandler);
for (int i = 0; i < 0x20; i++) {
Interrupts::addCallback(i, &ProcessManager::FaultHandler);
Expand Down

0 comments on commit 5994b5e

Please sign in to comment.