From 222bde8db78ce71f147a3deaf691a4ea85bac651 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Mon, 23 Nov 2020 20:05:10 +0800 Subject: [PATCH] xous: remove extra prints from network This was useful when tracking down network issues. Signed-off-by: Sean Cross --- xous-rs/src/arch/hosted.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/xous-rs/src/arch/hosted.rs b/xous-rs/src/arch/hosted.rs index 186180632..88530efef 100644 --- a/xous-rs/src/arch/hosted.rs +++ b/xous-rs/src/arch/hosted.rs @@ -556,10 +556,6 @@ fn _xous_syscall_result(ret: &mut Result, thread_id: TID, server_connection: &Se let call = CALL_FOR_THREAD.with(|cft| { let cft_borrowed = cft.borrow(); let mut cft_mtx = cft_borrowed.lock().unwrap(); - if ! cft_mtx.contains_key(&msg_thread_id) { - eprintln!("msg_thd_id: {} cft: {:?}", msg_thread_id, cft_mtx); - ::debug_here::debug_here!(); - } cft_mtx .remove(&msg_thread_id) .expect("thread didn't declare whether it has data") @@ -636,7 +632,6 @@ fn _xous_syscall_result(ret: &mut Result, thread_id: TID, server_connection: &Se *ret = response; return; } - eprintln!("msg_thread_id {} != thread_id {}", msg_thread_id, thread_id); // Otherwise, add it to the mailbox and try again. let mut mailbox = server_connection.mailbox.lock().unwrap();