Skip to content

Commit 5de89dd

Browse files
authored
Merge pull request #1015 from nicholasbishop/bishop-remove-trace
fs: Remove a couple debug logs
2 parents a18325e + 02770ef commit 5de89dd

File tree

1 file changed

+0
-3
lines changed
  • uefi/src/fs/file_system

1 file changed

+0
-3
lines changed

uefi/src/fs/file_system/fs.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ use alloc::vec::Vec;
1010
use core::fmt;
1111
use core::fmt::{Debug, Formatter};
1212
use core::ops::Deref;
13-
use log::debug;
1413

1514
/// Return type for public [`FileSystem`] operations.
1615
pub type FileSystemResult<T> = Result<T, Error>;
@@ -156,7 +155,6 @@ impl<'a> FileSystem<'a> {
156155
// Collect all relevant sub paths in a vector.
157156
let mut dirs_to_create = vec![path.to_path_buf()];
158157
while let Some(parent) = dirs_to_create.last().unwrap().parent() {
159-
debug!("parent={parent}");
160158
dirs_to_create.push(parent)
161159
}
162160
// Now reverse, so that we have something like this:
@@ -421,7 +419,6 @@ impl<'a> FileSystem<'a> {
421419
self.open_root()?
422420
.open(path.to_cstr16(), mode, attr)
423421
.map_err(|err| {
424-
log::trace!("Can't open file {path}: {err:?}");
425422
Error::Io(IoError {
426423
path: path.to_path_buf(),
427424
context: IoErrorContext::OpenError,

0 commit comments

Comments
 (0)