aboutsummaryrefslogtreecommitdiffstats
path: root/hw/ide.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ide.c')
-rw-r--r--hw/ide.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/ide.c b/hw/ide.c
index 1db0bcdf5..56c823e76 100644
--- a/hw/ide.c
+++ b/hw/ide.c
@@ -2895,8 +2895,6 @@ void isa_ide_init(int iobase, int iobase2, qemu_irq irq,
IDEState *ide_state;
ide_state = qemu_mallocz(sizeof(IDEState) * 2);
- if (!ide_state)
- return;
ide_init2(ide_state, hd0, hd1, irq);
ide_init_ioport(ide_state, iobase, iobase2);