Remove a bit of dead code

This commit is contained in:
bjorn3
2024-01-20 14:42:29 +01:00
parent 20eb92ae02
commit d832717bf9
-12
View File
@@ -153,18 +153,6 @@ impl Capability {
_ => None,
}
}
pub fn into_msi(self) -> Option<MsiCapability> {
match self {
Self::Msi(msi) => Some(msi),
_ => None,
}
}
pub fn into_msix(self) -> Option<MsixCapability> {
match self {
Self::MsiX(msix) => Some(msix),
_ => None,
}
}
unsafe fn parse_msi<R: ConfigReader>(reader: &R, offset: u8) -> Self {
Self::Msi(MsiCapability::parse(reader, offset))
}