From 483ee05ebc93786c81be8629649be3b549ae614d Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jeremy@system76.com> Date: Tue, 12 Mar 2019 20:48:28 -0600 Subject: [PATCH] Fix unused import --- src/arch/x86_64/debug.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/arch/x86_64/debug.rs b/src/arch/x86_64/debug.rs index 5519fd9a..1c173a7d 100644 --- a/src/arch/x86_64/debug.rs +++ b/src/arch/x86_64/debug.rs @@ -1,5 +1,7 @@ use core::fmt; -use spin::{Mutex, MutexGuard}; +#[cfg(feature = "qemu_debug")] +use spin::Mutex; +use spin::MutexGuard; #[cfg(feature = "qemu_debug")] use syscall::io::Io; -- GitLab