qemu/hw/usb
Markus Armbruster 84d18f065f Use error_is_set() only when necessary
error_is_set(&var) is the same as var != NULL, but it takes
whole-program analysis to figure that out.  Unnecessarily hard for
optimizers, static checkers, and human readers.  Dumb it down to
obvious.

Gets rid of several dozen Coverity false positives.

Note that the obvious form is already used in many places.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2014-02-17 11:57:23 -05:00
..
bus.c usb: add support for microsoft os descriptors 2014-01-16 12:59:59 +01:00
ccid-card-emulated.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
ccid-card-passthru.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
ccid.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
combined-packet.c usb: Fix iovec memleak on combined-packet free 2013-09-19 11:28:40 +02:00
core.c usb: Add max_streams attribute to endpoint info 2013-11-26 09:21:17 +01:00
desc-msos.c usb: add support for microsoft os descriptors 2014-01-16 12:59:59 +01:00
desc.c usb: add support for microsoft os descriptors 2014-01-16 12:59:59 +01:00
desc.h usb: add support for microsoft os descriptors 2014-01-16 12:59:59 +01:00
dev-audio.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
dev-bluetooth.c Remove dev-bluetooth.c dependency from vl.c 2013-09-10 11:14:42 +02:00
dev-hid.c usb-hid: add microsoft os descriptor support 2014-01-16 12:59:59 +01:00
dev-hub.c Revert "usb-hub: report status changes only once" 2013-09-02 11:06:20 +02:00
dev-network.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
dev-serial.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
dev-smartcard-reader.c qdev: Pass size to qbus_create_inplace() 2013-08-30 21:15:35 +02:00
dev-storage.c qdev: Drop misleading qdev_free() function 2013-11-05 18:06:38 +01:00
dev-uas.c uas: s/ui/iu/ 2013-11-26 09:21:17 +01:00
dev-wacom.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
hcd-ehci-pci.c qdev:pci: refactor PCIDevice to use generic "hotpluggable" property 2014-02-10 10:26:56 +02:00
hcd-ehci-sysbus.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
hcd-ehci.c Improvements for usb3 bulk stream (usb core, xhci). 2013-12-06 12:54:36 -08:00
hcd-ehci.h trace: Remove trace.h from hw/usb/hcd-ehci.h (less dependencies) 2013-12-02 21:02:00 +04:00
hcd-musb.c usb: Pass size to usb_bus_new() 2013-08-30 20:14:39 +02:00
hcd-ohci.c qdev:pci: refactor PCIDevice to use generic "hotpluggable" property 2014-02-10 10:26:56 +02:00
hcd-uhci.c qdev:pci: refactor PCIDevice to use generic "hotpluggable" property 2014-02-10 10:26:56 +02:00
hcd-xhci.c qdev:pci: refactor PCIDevice to use generic "hotpluggable" property 2014-02-10 10:26:56 +02:00
host-legacy.c qdev: Drop misleading qdev_free() function 2013-11-05 18:06:38 +01:00
host-libusb.c usb-host-libusb: Detach kernel drivers earlier 2013-10-22 16:28:49 +02:00
host-stub.c usb-host: remove usb_host_device_close 2013-02-19 12:30:05 +01:00
host.h usb-host: move legacy cmd line bits 2013-02-19 12:30:05 +01:00
libhw.c dma: eliminate DMAContext 2013-06-20 16:39:52 +02:00
Makefile.objs usb: add support for microsoft os descriptors 2014-01-16 12:59:59 +01:00
quirks-ftdi-ids.h usbredir: Add support for buffered bulk input (v2) 2013-01-08 10:56:58 +01:00
quirks-pl2303-ids.h usbredir: Add support for buffered bulk input (v2) 2013-01-08 10:56:58 +01:00
quirks.c usbredir: Add support for buffered bulk input (v2) 2013-01-08 10:56:58 +01:00
quirks.h usbredir: Add support for buffered bulk input (v2) 2013-01-08 10:56:58 +01:00
redirect.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00