Remove debug message

This commit is contained in:
Jeremy Soller 2016-12-06 15:27:49 -07:00
parent 8ed1571e08
commit b66c85e2ca

View file

@ -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),