]> Git Repo - qemu.git/blobdiff - hw/sh_serial.c
qemu: create helper for event notification (Marcelo Tosatti)
[qemu.git] / hw / sh_serial.c
index da1a2ca7cee1b06308913831fd522e1655fb00a2..4957c41ae8cf0959815e1deda0a639c067c7a305 100644 (file)
@@ -376,8 +376,6 @@ void sh_serial_init (target_phys_addr_t base, int feat,
     int s_io_memory;
 
     s = qemu_mallocz(sizeof(sh_serial_state));
-    if (!s)
-        return;
 
     s->feat = feat;
     s->flags = SH_SERIAL_FLAG_TEND | SH_SERIAL_FLAG_TDE;
This page took 0.02542 seconds and 4 git commands to generate.