Browse Source

Remove stray log from MCFG parser

Isaac Woods 5 years ago
parent
commit
d74d682190
1 changed files with 0 additions and 7 deletions
  1. 0 7
      acpi/src/mcfg.rs

+ 0 - 7
acpi/src/mcfg.rs

@@ -1,7 +1,6 @@
 use crate::{handler::PhysicalMapping, sdt::SdtHeader, Acpi, AcpiError};
 use alloc::vec::Vec;
 use core::{mem, slice};
-use log::info;
 
 /// Describes a set of regions of physical memory used to access the PCI-E configuration space. A
 /// region  is created for each entry in the MCFG. Given the segment group, bus, device number, and
@@ -50,12 +49,6 @@ pub(crate) struct Mcfg {
 impl Mcfg {
     fn entries(&self) -> &[McfgEntry] {
         let length = self.header.length() as usize - mem::size_of::<Mcfg>();
-        info!(
-            "(raw length = {}, header length = {}, length of entries = {})",
-            self.header.length(),
-            mem::size_of::<SdtHeader>(),
-            length
-        );
         assert!(length % mem::size_of::<McfgEntry>() == 0);
         let num_entries = length / mem::size_of::<McfgEntry>();