Skip to content

Commit

Permalink
riscv/platform/virt/devcons: remove unnecessary mut
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Maslowski <[email protected]>
  • Loading branch information
orangecms committed May 3, 2023
1 parent 3bc848b commit 4b41524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion riscv64/src/platform/virt/devcons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Sbi> = MaybeUninit::uninit();

Expand Down

0 comments on commit 4b41524

Please sign in to comment.