From 8115c2e7cf48c092237d8d34f2d6bc6ed9b2b25f Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Fri, 30 Oct 2020 10:12:32 +0800 Subject: [PATCH] xous: hosted: remove print!() monitoring network traffic This was useful when tracking down network traffic issues. It is no longer useful. Signed-off-by: Sean Cross --- xous-rs/src/arch/hosted.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/xous-rs/src/arch/hosted.rs b/xous-rs/src/arch/hosted.rs index 5c7b00077..f7d989192 100644 --- a/xous-rs/src/arch/hosted.rs +++ b/xous-rs/src/arch/hosted.rs @@ -538,14 +538,12 @@ fn _xous_syscall_result( | crate::Message::MutableBorrow(ref mut memory_message) => { let data = vec![0u8; memory_message.buf.len()]; let mut data = std::mem::ManuallyDrop::new(data); - // println!("KERNEL: Reading {} bytes of data from network", data.len()); if let Err(e) = stream.read_exact(&mut data) { eprintln!("Server shut down: {}", e); std::process::exit(0); } let len = data.len(); let addr = data.as_mut_ptr(); - memory_message.buf.addr = crate::MemoryAddress::new(addr as _).unwrap(); memory_message.buf.size = crate::MemorySize::new(len).unwrap(); }