aboutsummaryrefslogtreecommitdiff
path: root/hw/usb-wacom.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb-wacom.c')
-rw-r--r--hw/usb-wacom.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/usb-wacom.c b/hw/usb-wacom.c
index cc3579c584..eaf0d29eb3 100644
--- a/hw/usb-wacom.c
+++ b/hw/usb-wacom.c
@@ -397,8 +397,6 @@ USBDevice *usb_wacom_init(void)
USBWacomState *s;
s = qemu_mallocz(sizeof(USBWacomState));
- if (!s)
- return NULL;
s->dev.speed = USB_SPEED_FULL;
s->dev.handle_packet = usb_generic_handle_packet;