diff options
Diffstat (limited to 'hw/sun4c_intctl.c')
-rw-r--r-- | hw/sun4c_intctl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/sun4c_intctl.c b/hw/sun4c_intctl.c index dd42777679..17591572fa 100644 --- a/hw/sun4c_intctl.c +++ b/hw/sun4c_intctl.c @@ -204,8 +204,6 @@ void *sun4c_intctl_init(target_phys_addr_t addr, qemu_irq **irq, Sun4c_INTCTLState *s; s = qemu_mallocz(sizeof(Sun4c_INTCTLState)); - if (!s) - return NULL; sun4c_intctl_io_memory = cpu_register_io_memory(0, sun4c_intctl_mem_read, sun4c_intctl_mem_write, s); |