diff --git a/src/arch/riscv64/debug.rs b/src/arch/riscv64/debug.rs index 6c07fb5649..0e6ea54933 100644 --- a/src/arch/riscv64/debug.rs +++ b/src/arch/riscv64/debug.rs @@ -47,11 +47,6 @@ impl<'a> Writer<'a> { serial.write(buf); } } - - { - let buf = sbi_rt::Physical::new(buf.len(), buf.as_ptr() as usize, 0); - let _ = sbi_rt::console_write(buf).ok(); - } } }