Skip to content

Commit

Permalink
disk: BIOS: Remove useless disk_read_sectors() call
Browse files Browse the repository at this point in the history
  • Loading branch information
mintsuki committed May 7, 2024
1 parent 903662f commit 10e0ca6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions common/drivers/disk.s2.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,6 @@ void disk_create_index(void) {
continue;
}

if (disk_read_sectors(block, xfer_buf, 0, 1) != DISK_SUCCESS) {
continue;
}

block->is_optical = is_removable;

if (block->is_optical) {
Expand Down

0 comments on commit 10e0ca6

Please sign in to comment.