aboutsummaryrefslogtreecommitdiff
path: root/hw/vmmouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/vmmouse.c')
-rw-r--r--hw/vmmouse.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/vmmouse.c b/hw/vmmouse.c
index 5249393654..c70e825d4b 100644
--- a/hw/vmmouse.c
+++ b/hw/vmmouse.c
@@ -275,8 +275,6 @@ void *vmmouse_init(void *m)
DPRINTF("vmmouse_init\n");
s = qemu_mallocz(sizeof(VMMouseState));
- if (!s)
- return NULL;
s->status = 0xffff;
s->ps2_mouse = m;