From 8c599a3080ce082c5512ce3c5978ea16760e78b1 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Wed, 3 Mar 2021 21:19:45 +0800 Subject: [PATCH] kernel: mem: remove unused debugging prints Signed-off-by: Sean Cross --- kernel/src/mem.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/kernel/src/mem.rs b/kernel/src/mem.rs index 25be8e4b9..7c2dda727 100644 --- a/kernel/src/mem.rs +++ b/kernel/src/mem.rs @@ -290,7 +290,6 @@ impl MemoryManager { // Look for a sequence of `size` pages that are free. for potential_start in (initial..end - size).step_by(PAGE_SIZE) { - // println!(" Checking {:08x}...", potential_start); let mut all_free = true; for check_page in (potential_start..potential_start + size).step_by(PAGE_SIZE) { if !crate::arch::mem::address_available(check_page) { @@ -313,7 +312,6 @@ impl MemoryManager { } for potential_start in (start..initial).step_by(PAGE_SIZE) { - // println!(" Checking {:08x}...", potential_start); let mut all_free = true; for check_page in (potential_start..potential_start + size).step_by(PAGE_SIZE) { if !crate::arch::mem::address_available(check_page) { @@ -334,7 +332,6 @@ impl MemoryManager { return Ok(potential_start as *mut u8); } } - // println!("Couldn't find virtual address"); Err(xous_kernel::Error::BadAddress) }) }