diff options
Diffstat (limited to 'hw/mpcore.c')
-rw-r--r-- | hw/mpcore.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/mpcore.c b/hw/mpcore.c index 914087addf..1d5fcc71c3 100644 --- a/hw/mpcore.c +++ b/hw/mpcore.c @@ -265,8 +265,6 @@ static qemu_irq *mpcore_priv_init(uint32_t base, qemu_irq *pic_irq) int i; s = (mpcore_priv_state *)qemu_mallocz(sizeof(mpcore_priv_state)); - if (!s) - return NULL; s->gic = gic_init(base + 0x1000, pic_irq); if (!s->gic) return NULL; |