From 2a6de6ed67036eb294482f995f7a3873fa757a2a Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Tue, 23 Mar 2021 21:34:37 +0800 Subject: [PATCH] kernel: hosted: remove unused interrupt calls These were removed from riscv, and have no place in hosted mode. Signed-off-by: Sean Cross --- kernel/src/arch/hosted/irq.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/kernel/src/arch/hosted/irq.rs b/kernel/src/arch/hosted/irq.rs index 4f4ffe300..5151506a4 100644 --- a/kernel/src/arch/hosted/irq.rs +++ b/kernel/src/arch/hosted/irq.rs @@ -3,14 +3,6 @@ use xous_kernel::{TID, PID}; -pub fn disable_all_irqs() { - // There are no IRQs in a hosted environment, so there's nothing to do. -} - -pub fn enable_all_irqs() { - // There are no IRQs in a hosted environment, so there's nothing to do. -} - pub fn enable_irq(_irq_no: usize) { unimplemented!(); }