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 Jun 13, 2023
1 parent 773fc8f commit c1b0478
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 c1b0478

Please sign in to comment.