aboutsummaryrefslogtreecommitdiff
path: root/hw/cs4231.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/cs4231.c')
-rw-r--r--hw/cs4231.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/cs4231.c b/hw/cs4231.c
index d53f194a5b..59d83e01b2 100644
--- a/hw/cs4231.c
+++ b/hw/cs4231.c
@@ -171,8 +171,6 @@ void cs_init(target_phys_addr_t base, int irq, void *intctl)
CSState *s;
s = qemu_mallocz(sizeof(CSState));
- if (!s)
- return;
cs_io_memory = cpu_register_io_memory(0, cs_mem_read, cs_mem_write, s);
cpu_register_physical_memory(base, CS_SIZE, cs_io_memory);