We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c1c472 commit f02cac2Copy full SHA for f02cac2
src/lib.rs
@@ -75,8 +75,6 @@ pub type InterruptPin = u8;
75
76
// TODO: documentation
77
pub trait ConfigRegionAccess {
78
- fn function_exists(&self, address: PciAddress) -> bool;
79
-
80
/// Performs a PCI read at `address` with `offset`.
81
///
82
/// # Safety
@@ -93,11 +91,6 @@ pub trait ConfigRegionAccess {
93
91
}
94
92
95
impl<T: ConfigRegionAccess + ?Sized> ConfigRegionAccess for &T {
96
- #[inline]
97
- fn function_exists(&self, address: PciAddress) -> bool {
98
- (**self).function_exists(address)
99
- }
100
101
#[inline]
102
unsafe fn read(&self, address: PciAddress, offset: u16) -> u32 {
103
(**self).read(address, offset)
0 commit comments