Skip to content

Commit 690c17d

Browse files
committed
fixup! freebsd: Add support for ESRT parsing
1 parent 9da15f9 commit 690c17d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

framework_lib/src/esrt/mod.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -374,11 +374,8 @@ pub fn get_esrt() -> Option<Esrt> {
374374
table.buf = buf.as_mut_ptr();
375375

376376
let _res = efi_get_table(fd, &mut table).unwrap();
377-
return esrt_from_buf(table.buf);
377+
esrt_from_buf(table.buf)
378378
}
379-
println!("Success");
380-
381-
None
382379
}
383380

384381
/// gEfiSystemResourceTableGuid from MdePkg/MdePkg.dec

0 commit comments

Comments
 (0)