diff options
Diffstat (limited to 'hw/cs4231a.c')
-rw-r--r-- | hw/cs4231a.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/cs4231a.c b/hw/cs4231a.c index 6d04d367b..25ad40990 100644 --- a/hw/cs4231a.c +++ b/hw/cs4231a.c @@ -647,11 +647,6 @@ int cs4231a_init (AudioState *audio, qemu_irq *pic) } s = qemu_mallocz (sizeof (*s)); - if (!s) { - lerr ("Could not allocate memory for cs4231a (%zu bytes)\n", - sizeof (*s)); - return -1; - } s->pic = pic; s->irq = conf.irq; |