From 2c0b54280cd2d73ec4dbb4880fd88adb751afe9d Mon Sep 17 00:00:00 2001 From: Simon Renblad Date: Mon, 7 Oct 2024 15:05:53 +0800 Subject: [PATCH] unused libs, fixup --- libconfig/src/bootgen.rs | 2 +- libconfig/src/lib.rs | 2 +- szl/src/main.rs | 1 - szl/src/netboot.rs | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/libconfig/src/bootgen.rs b/libconfig/src/bootgen.rs index d4ca3b0..d6da362 100644 --- a/libconfig/src/bootgen.rs +++ b/libconfig/src/bootgen.rs @@ -1,5 +1,5 @@ use alloc::vec::Vec; -use fatfs::{self, IoBase, Read, Seek, SeekFrom}; +use fatfs::{self, Read, Seek, SeekFrom}; use libboard_zynq::devc; use crate::sd_reader; use crate::File; diff --git a/libconfig/src/lib.rs b/libconfig/src/lib.rs index 970c1a3..1d5bbbb 100644 --- a/libconfig/src/lib.rs +++ b/libconfig/src/lib.rs @@ -4,7 +4,7 @@ extern crate alloc; use alloc::{rc::Rc, string::FromUtf8Error, string::String, vec::Vec}; use sd_reader::SdReader; use core::fmt; -use fatfs::{self, IoBase, Read, Seek, SeekFrom, Write}; +use fatfs::{self, Read, Seek, SeekFrom, Write}; use libboard_zynq::sdio; pub mod bootgen; diff --git a/szl/src/main.rs b/szl/src/main.rs index cc19d1e..3ffbb95 100644 --- a/szl/src/main.rs +++ b/szl/src/main.rs @@ -8,7 +8,6 @@ mod netboot; use alloc::rc::Rc; use core::mem; -use fatfs::{self, DefaultTimeProvider, LossyOemCpConverter, Read, Seek}; use libboard_zynq::{ self as zynq, clocks::source::{ArmPll, ClockSource, IoPll}, diff --git a/szl/src/netboot.rs b/szl/src/netboot.rs index 26e9413..dcbb26d 100644 --- a/szl/src/netboot.rs +++ b/szl/src/netboot.rs @@ -1,7 +1,6 @@ use alloc::vec; use alloc::vec::Vec; use byteorder::{ByteOrder, NetworkEndian}; -use fatfs::{Read, Seek}; use libboard_zynq::{ devc, eth::Eth,