Skip to content

Commit 14786e1

Browse files
committed
riscv/platform/virt/devcons: remove unnecessary mut
Signed-off-by: Daniel Maslowski <info@orangecms.org>
1 parent 727182e commit 14786e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

riscv64/src/platform/virt/devcons.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pub fn init(dt: &DeviceTree) {
3131

3232
pub fn init_sbi() {
3333
Console::new(|| {
34-
let mut uart = Sbi::new();
34+
let uart = Sbi::new();
3535

3636
static mut UART: MaybeUninit<Sbi> = MaybeUninit::uninit();
3737

0 commit comments

Comments
 (0)