diff options
Diffstat (limited to 'hw/usb-net.c')
-rw-r--r-- | hw/usb-net.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/usb-net.c b/hw/usb-net.c index c49fd62a41..863c25fd9c 100644 --- a/hw/usb-net.c +++ b/hw/usb-net.c @@ -1430,8 +1430,6 @@ USBDevice *usb_net_init(NICInfo *nd) USBNetState *s; s = qemu_mallocz(sizeof(USBNetState)); - if (!s) - return NULL; s->dev.speed = USB_SPEED_FULL; s->dev.handle_packet = usb_generic_handle_packet; |