summary refs log tree commit diff stats
path: root/hw/jazz_led.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/jazz_led.c')
-rw-r--r--hw/jazz_led.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/jazz_led.c b/hw/jazz_led.c
index fdef9d8150..8e2036985e 100644
--- a/hw/jazz_led.c
+++ b/hw/jazz_led.c
@@ -304,8 +304,6 @@ void jazz_led_init(target_phys_addr_t base)
     int io;
 
     s = qemu_mallocz(sizeof(LedState));
-    if (!s)
-        return;
 
     s->state = REDRAW_SEGMENTS | REDRAW_BACKGROUND;