]> Git Repo - qemu.git/blobdiff - hw/usb-wacom.c
hw: remove error handling from qemu_malloc() callers (Avi Kivity)
[qemu.git] / hw / usb-wacom.c
index cc3579c584f68f8dd19d0ffca74b2c81ec808046..eaf0d29eb3a06435f9f719fb10618a980a396a88 100644 (file)
@@ -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;
 
This page took 0.024271 seconds and 4 git commands to generate.