From 595545629faac5ebe5da822ed1b025b44456850e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Tue, 9 Apr 2024 22:56:17 +0200 Subject: [PATCH] fix(uefi): unused_imports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kröning --- src/os/mod.rs | 2 -- src/os/uefi/console.rs | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/os/mod.rs b/src/os/mod.rs index 6c1a4924..00b8faf2 100644 --- a/src/os/mod.rs +++ b/src/os/mod.rs @@ -1,5 +1,3 @@ -#![allow(unused_imports)] - cfg_if::cfg_if! { if #[cfg(target_os = "none")] { mod none; diff --git a/src/os/uefi/console.rs b/src/os/uefi/console.rs index 36ddf26e..d680b7fb 100644 --- a/src/os/uefi/console.rs +++ b/src/os/uefi/console.rs @@ -1,11 +1,9 @@ use core::ffi::c_void; use core::fmt; use core::ptr::NonNull; -use core::sync::atomic::{AtomicBool, Ordering}; use one_shot_mutex::OneShotMutex; use uefi::table::boot::{EventType, Tpl}; -use uefi::table::{Boot, SystemTable}; use uefi::Event; use crate::arch;