From b66c85e2ca923f8e39fe72b5c7d5257f9e7829f9 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Tue, 6 Dec 2016 15:27:49 -0700 Subject: [PATCH] Remove debug message --- kernel/scheme/user.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/kernel/scheme/user.rs b/kernel/scheme/user.rs index 03f1d4e..589a8c9 100644 --- a/kernel/scheme/user.rs +++ b/kernel/scheme/user.rs @@ -106,10 +106,6 @@ impl UserInner { for i in 0 .. grants.len() { let start = grants[i].start_address().get(); if to_address + full_size < start { - { - let name = context.name.lock(); - println!("{}: {}: Can grant {:X} to {:X} size {}", context.id.into(), ::core::str::from_utf8(&name).unwrap_or(""), from_address, to_address, full_size); - } grants.insert(i, Grant::map_inactive( VirtualAddress::new(from_address), VirtualAddress::new(to_address), @@ -127,10 +123,6 @@ impl UserInner { } } - { - let name = context.name.lock(); - println!("{}: {}: Can grant {:X} to {:X} size {}", context.id.into(), ::core::str::from_utf8(&name).unwrap_or(""), from_address, to_address, full_size); - } grants.push(Grant::map_inactive( VirtualAddress::new(from_address), VirtualAddress::new(to_address),