From 8e553d619de5ef2fdcc8ce6282aa8f369397331f Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Mon, 26 Sep 2016 17:13:35 -0600 Subject: [PATCH] Fix allocate_frames --- ahcid/src/ahci/mod.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/ahcid/src/ahci/mod.rs b/ahcid/src/ahci/mod.rs index cdf54ca8ee..6cc266fd1f 100644 --- a/ahcid/src/ahci/mod.rs +++ b/ahcid/src/ahci/mod.rs @@ -22,7 +22,6 @@ impl Ahci { println!("{}: {:?}", i, port_type); match port_type { HbaPortType::SATA => { - /* disk.port.init(); if let Some(size) = unsafe { disk.port.identify(i) } { disk.size = size; @@ -30,8 +29,6 @@ impl Ahci { } else { None } - */ - None } _ => None, }