diff --git a/pci/src/configuration.rs b/pci/src/configuration.rs index 89d831bbb..a12fb75e3 100644 --- a/pci/src/configuration.rs +++ b/pci/src/configuration.rs @@ -757,10 +757,6 @@ impl PciConfiguration { return Err(Error::BarInvalid64(bar_idx)); } - if end_addr > u64::max_value() { - return Err(Error::BarAddressInvalid(config.addr, config.size)); - } - if self.bars[bar_idx + 1].used { return Err(Error::BarInUse64(bar_idx)); }