stm32/ospi: remove unused trait.

This commit is contained in:
Dario Nieuwenhuis 2024-05-12 23:41:46 +02:00
parent 43d51884e2
commit 623d3ec306

View File

@ -969,17 +969,6 @@ fn finish_dma(regs: Regs) {
});
}
trait RegsExt {
fn dr_ptr<W>(&self) -> *mut W;
}
impl RegsExt for Regs {
fn dr_ptr<W>(&self) -> *mut W {
let dr = self.dr();
dr.as_ptr() as *mut W
}
}
pub(crate) trait SealedInstance {
const REGS: Regs;
}