diff options
author | Andreas Kling <kling@serenityos.org> | 2021-07-11 15:13:00 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-11 15:15:57 +0200 |
commit | 112c7f9a5b82519117cf8c0d1958ef8fe5303865 (patch) | |
tree | 180bc25ac287001b736dc5b569bb5eb62d4f1866 | |
parent | 5087b2b32f28da82b2d5675e0fed37f5fb01107d (diff) | |
download | serenity-112c7f9a5b82519117cf8c0d1958ef8fe5303865.zip |
Kernel: Remove unused MemoryManager::m_physical_page_entries_free
-rw-r--r-- | Kernel/VM/MemoryManager.cpp | 1 | ||||
-rw-r--r-- | Kernel/VM/MemoryManager.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/Kernel/VM/MemoryManager.cpp b/Kernel/VM/MemoryManager.cpp index 01845f5138..e5b578ada7 100644 --- a/Kernel/VM/MemoryManager.cpp +++ b/Kernel/VM/MemoryManager.cpp @@ -431,7 +431,6 @@ UNMAP_AFTER_INIT void MemoryManager::initialize_physical_pages() m_physical_page_entries = (PhysicalPageEntry*)range.value().base().get(); for (size_t i = 0; i < m_physical_page_entries_count; i++) new (&m_physical_page_entries[i]) PageTableEntry(); - m_physical_page_entries_free = m_physical_page_entries_count; // Now we should be able to allocate PhysicalPage instances, // so finish setting up the kernel page directory diff --git a/Kernel/VM/MemoryManager.h b/Kernel/VM/MemoryManager.h index 474d55644e..5bccc762aa 100644 --- a/Kernel/VM/MemoryManager.h +++ b/Kernel/VM/MemoryManager.h @@ -250,7 +250,6 @@ private: Vector<PhysicalRegion> m_super_physical_regions; Optional<PhysicalRegion> m_physical_pages_region; PhysicalPageEntry* m_physical_page_entries { nullptr }; - size_t m_physical_page_entries_free { 0 }; size_t m_physical_page_entries_count { 0 }; Region::List m_user_regions; |