remove now-unused stub

This commit is contained in:
bunnie 2021-08-04 23:29:00 +08:00
parent 7921b0216f
commit d68b6639cf

View file

@ -114,14 +114,6 @@ impl Uart {
},
}
}
pub fn acknowledge_irq(&self) {
if unsafe { DEBUG_OUTPUT.is_none() } {
return;
}
let mut uart_csr = CSR::new(crate::debug::SUPERVISOR_UART_ADDR as *mut u32);
uart_csr.wfo(utra::uart::EV_PENDING_RX, 1);
}
}
#[cfg(all(feature = "gdbserver", baremetal))]