Remove unused imports

This commit is contained in:
Philipp Oppermann
2015-12-31 18:27:28 +01:00
parent db928db0b5
commit 1c2e6fca64
2 changed files with 1 additions and 4 deletions

View File

@@ -9,7 +9,7 @@
use super::{VirtualAddress, PhysicalAddress, Page, ENTRY_COUNT};
use super::entry::*;
use super::table::{self, Table, Level4, Level1};
use super::table::{self, Table, Level4};
use memory::{PAGE_SIZE, Frame, FrameAllocator};
use core::ptr::Unique;

View File

@@ -9,11 +9,9 @@
pub use self::entry::*;
use memory::{PAGE_SIZE, Frame, FrameAllocator};
use self::table::{Table, Level4};
use self::temporary_page::TemporaryPage;
pub use self::mapper::Mapper;
use core::ops::{Deref, DerefMut};
use core::ptr::Unique;
use multiboot2::BootInformation;
mod entry;
@@ -193,7 +191,6 @@ pub fn remap_the_kernel<A>(allocator: &mut A, boot_info: &BootInformation)
for section in elf_sections_tag.sections() {
use multiboot2::ELF_SECTION_ALLOCATED;
use self::entry::WRITABLE;
if !section.flags().contains(ELF_SECTION_ALLOCATED) {
// section is not loaded to memory