Skip to content

Commit 718b471

Browse files
phil-oppFreax13
andauthored
Remove commented out code
Co-authored-by: Tom Dohrmann <[email protected]>
1 parent d8943dd commit 718b471

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bios/boot_sector/src/main.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ pub extern "C" fn first_stage(disk_number: u16) {
3030
// read partition table and look for second stage partition
3131
print_char(b'1');
3232
let partition_table = &unsafe { slice::from_raw_parts(partition_table_raw(), 16 * 4) };
33-
let second_stage_partition =
34-
// mbr::boot_partition(partition_table).unwrap_or_fail(NO_SECOND_STAGE_PARTITION);
35-
mbr::get_partition(partition_table, 0);
33+
let second_stage_partition = mbr::get_partition(partition_table, 0);
3634

3735
// load second stage partition into memory
3836
print_char(b'2');

0 commit comments

Comments
 (0)