Fix unnecessary syntax

This commit is contained in:
Skallwar
2020-03-06 21:02:20 +01:00
parent 7671e92216
commit b82f596ef6
2 changed files with 1 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ fn scan_folder(loc: &Path) -> (HashMap<String, Vec<String>>, Vec<String>) {
}
// Write folder/file information to output file
fn fill_from_location(f: &mut fs::File, loc: &Path ) -> Result<(), (Error)> {
fn fill_from_location(f: &mut fs::File, loc: &Path ) -> Result<(), Error> {
let (folders, mut files) = scan_folder(loc);
let mut folder_it:Vec<_> = folders.keys().collect();

View File

@@ -45,9 +45,7 @@ fn page_table_lock() {
return;
}
}
unsafe {
crate::arch::interrupt::pause();
}
}
}