x86 ide: Remove unlock in IDE_Identify when failing to select the drive.
This commit is contained in:
parent
0f2f6df2bf
commit
562cfeec44
@ -195,7 +195,6 @@ IDE_Identify(IDE *ide, int drive)
|
||||
|
||||
status = IDEWaitForBusy(ide, true);
|
||||
if ((status & IDE_STATUS_ERR) != 0) {
|
||||
Spinlock_Unlock(&ide->lock);
|
||||
Log(ide, "Error selecting drive %d\n", drive);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user