diff options
Diffstat (limited to 'hw/eccmemctl.c')
-rw-r--r-- | hw/eccmemctl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/eccmemctl.c b/hw/eccmemctl.c index 434f49e015..28519c81f9 100644 --- a/hw/eccmemctl.c +++ b/hw/eccmemctl.c @@ -320,8 +320,6 @@ void * ecc_init(target_phys_addr_t base, qemu_irq irq, uint32_t version) ECCState *s; s = qemu_mallocz(sizeof(ECCState)); - if (!s) - return NULL; s->version = version; s->regs[0] = version; |