From 81afdb2750b5128b92723c129fe3d6867fca2002 Mon Sep 17 00:00:00 2001 From: 4lDO2 <4lDO2@protonmail.com> Date: Sun, 12 Apr 2020 11:37:10 +0200 Subject: [PATCH] Remove two todo comments. --- pcid/src/main.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pcid/src/main.rs b/pcid/src/main.rs index 63637cb50b..daef5c699a 100644 --- a/pcid/src/main.rs +++ b/pcid/src/main.rs @@ -62,8 +62,6 @@ impl DriverHandler { PcidClientRequest::RequestFeatures => { PcidClientResponse::AllFeatures(self.capabilities.iter().filter_map(|(_, capability)| match capability { PciCapability::Msi(msi) => Some((PciFeature::Msi, FeatureStatus::enabled(msi.enabled()))), - // TODO: For MSI-X to actually be enabled, MSI also has to be enabled. - // How should this be reported to the subdrivers? PciCapability::MsiX(msix) => Some((PciFeature::MsiX, FeatureStatus::enabled(msix.msix_enabled()))), _ => None, }).collect()) @@ -344,9 +342,6 @@ fn handle_parsed_header(state: Arc, config: &Config, bus_num: u8, func, }; - // TODO: find a better way to pass the header data down to the - // device driver, making passing the capabilities list etc - // posible. let mut args = args.iter(); if let Some(program) = args.next() { let mut command = Command::new(program);