From 50955547b9c8ff9c6224dbc3f746ea2229d23ce9 Mon Sep 17 00:00:00 2001 From: Within Date: Wed, 23 Oct 2019 20:36:52 -0400 Subject: [PATCH] sweep unused imports --- src/allocator.rs | 1 - src/main.rs | 4 ---- 2 files changed, 5 deletions(-) diff --git a/src/allocator.rs b/src/allocator.rs index 03b494f..1c99714 100644 --- a/src/allocator.rs +++ b/src/allocator.rs @@ -1,6 +1,5 @@ use alloc::alloc::{GlobalAlloc, Layout}; use bootloader::BootInfo; -use bootloader::bootinfo::{MemoryMap, MemoryRegionType}; use core::ptr::null_mut; use x86_64::{ structures::paging::{ diff --git a/src/main.rs b/src/main.rs index 998a957..9b3d8c4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -14,10 +14,6 @@ use xe_os::println; entry_point!(kernel_main); fn kernel_main(boot_info: &'static BootInfo) -> ! { - use x86_64::VirtAddr; - use xe_os::allocator; - use xe_os::memory::{self, BootInfoFrameAllocator}; - xe_os::init(&boot_info); println!("Hello World{}", "!");