diff --git a/riscv64/src/platform/virt/devcons.rs b/riscv64/src/platform/virt/devcons.rs index c0b4240..dd3e848 100644 --- a/riscv64/src/platform/virt/devcons.rs +++ b/riscv64/src/platform/virt/devcons.rs @@ -31,7 +31,7 @@ pub fn init(dt: &DeviceTree) { pub fn init_sbi() { Console::new(|| { - let mut uart = Sbi::new(); + let uart = Sbi::new(); static mut UART: MaybeUninit = MaybeUninit::uninit();