Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fs: Remove a couple debug logs #1015

Merged
merged 1 commit into from Dec 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 0 additions & 3 deletions uefi/src/fs/file_system/fs.rs
Expand Up @@ -10,7 +10,6 @@ use alloc::vec::Vec;
use core::fmt;
use core::fmt::{Debug, Formatter};
use core::ops::Deref;
use log::debug;

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