stm32/ospi: remove unused trait.
This commit is contained in:
parent
43d51884e2
commit
623d3ec306
1 changed files with 0 additions and 11 deletions
|
@ -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 {
|
pub(crate) trait SealedInstance {
|
||||||
const REGS: Regs;
|
const REGS: Regs;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue