diff --git a/pcid/src/pci/cap.rs b/pcid/src/pci/cap.rs index 99fc3e09b2..5e852a528f 100644 --- a/pcid/src/pci/cap.rs +++ b/pcid/src/pci/cap.rs @@ -153,18 +153,6 @@ impl Capability { _ => None, } } - pub fn into_msi(self) -> Option { - match self { - Self::Msi(msi) => Some(msi), - _ => None, - } - } - pub fn into_msix(self) -> Option { - match self { - Self::MsiX(msix) => Some(msix), - _ => None, - } - } unsafe fn parse_msi(reader: &R, offset: u8) -> Self { Self::Msi(MsiCapability::parse(reader, offset)) }