From 5fe234d2d20ca64a46ea838051140235be3f4900 Mon Sep 17 00:00:00 2001 From: Yifan Wu Date: Wed, 8 Feb 2023 11:15:20 +0800 Subject: [PATCH] Fix Compilation Error --- os/src/drivers/block/virtio_blk.rs | 1 - os/src/drivers/gpu/mod.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/os/src/drivers/block/virtio_blk.rs b/os/src/drivers/block/virtio_blk.rs index 34a93e0d..fb2c8200 100644 --- a/os/src/drivers/block/virtio_blk.rs +++ b/os/src/drivers/block/virtio_blk.rs @@ -1,5 +1,4 @@ use super::BlockDevice; -use crate::drivers::bus::virtio::VirtioHal; use crate::sync::{Condvar, UPIntrFreeCell}; use crate::task::schedule; use crate::DEV_NON_BLOCKING_ACCESS; diff --git a/os/src/drivers/gpu/mod.rs b/os/src/drivers/gpu/mod.rs index b1281e1d..0108f249 100644 --- a/os/src/drivers/gpu/mod.rs +++ b/os/src/drivers/gpu/mod.rs @@ -1,4 +1,3 @@ -use crate::drivers::bus::virtio::VirtioHal; use crate::sync::UPIntrFreeCell; use alloc::{sync::Arc, vec::Vec}; use core::any::Any;