diff options
Diffstat (limited to 'hw/ide/ahci.c')
-rw-r--r-- | hw/ide/ahci.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c index ad05527166..0c699a76f2 100644 --- a/hw/ide/ahci.c +++ b/hw/ide/ahci.c @@ -602,10 +602,7 @@ static void ahci_reset_port(AHCIState *s, int port) } s->dev[port].port_state = STATE_RUN; - if (!ide_state->blk) { - pr->sig = 0; - ide_state->status = SEEK_STAT | WRERR_STAT; - } else if (ide_state->drive_kind == IDE_CD) { + if (ide_state->drive_kind == IDE_CD) { pr->sig = SATA_SIGNATURE_CDROM; ide_state->lcyl = 0x14; ide_state->hcyl = 0xeb; |