diff --git a/ihdad/src/main.rs b/ihdad/src/main.rs index 9ef7efa711..cae3eeb330 100755 --- a/ihdad/src/main.rs +++ b/ihdad/src/main.rs @@ -134,7 +134,7 @@ fn get_int_method(pcid_handle: &mut PcidServerHandle) -> Option { //TODO: MSI on non-x86_64? #[cfg(not(target_arch = "x86_64"))] -fn get_int_method(pcid_handle: &mut PcidServerHandle, address: usize) -> Option { +fn get_int_method(pcid_handle: &mut PcidServerHandle) -> Option { let pci_config = pcid_handle.fetch_config().expect("ihdad: failed to fetch config"); let irq = pci_config.func.legacy_interrupt_line;