qemu-e2k/hw/usb
Markus Armbruster 012aef0734 maint: avoid useless "if (foo) free(foo)" pattern
My Coccinelle semantic patch finds a few more, because it also fixes up
the equally pointless conditional

    if (foo) {
        free(foo);
        foo = NULL;
    }

Result (feel free to squash it into your patch):

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2015-09-11 10:21:38 +03:00
..
bus.c qerror: Move #include out of qerror.h 2015-06-22 18:20:40 +02:00
ccid-card-emulated.c Include monitor/monitor.h exactly where needed 2015-06-22 18:20:41 +02:00
ccid-card-passthru.c Include monitor/monitor.h exactly where needed 2015-06-22 18:20:41 +02:00
ccid.h
combined-packet.c
core.c usb: Remove unused functions 2015-04-30 16:05:48 +03:00
desc-msos.c
desc.c
desc.h
dev-audio.c usb: usb-audio QOMify 2015-05-08 13:01:06 +02:00
dev-bluetooth.c usb: usb-bt QOMify 2015-05-08 13:01:06 +02:00
dev-hid.c usb: usb-hid QOMify 2015-05-08 13:01:06 +02:00
dev-hub.c usb: usb-hub QOMify 2015-05-08 13:01:07 +02:00
dev-mtp.c usb-mtp: fix segmentation fault 2015-05-08 13:01:07 +02:00
dev-network.c usbnet: Drop usbnet_can_receive 2015-07-27 14:12:18 +01:00
dev-serial.c Include monitor/monitor.h exactly where needed 2015-06-22 18:20:41 +02:00
dev-smartcard-reader.c usb-ccid: add missing wakeup calls 2015-07-17 13:20:53 +02:00
dev-storage.c qerror: Move #include out of qerror.h 2015-06-22 18:20:40 +02:00
dev-uas.c usb: usb-uas QOMify 2015-05-08 13:01:07 +02:00
dev-wacom.c usb: usb-wacom-tablet QOMify 2015-05-08 13:01:07 +02:00
hcd-ehci-pci.c maint: avoid useless "if (foo) free(foo)" pattern 2015-09-11 10:21:38 +03:00
hcd-ehci-sysbus.c
hcd-ehci.c timer: rename NSEC_PER_SEC due to Mac OS X header clash 2015-07-20 17:01:00 +01:00
hcd-ehci.h Include monitor/monitor.h exactly where needed 2015-06-22 18:20:41 +02:00
hcd-musb.c
hcd-ohci.c migration: Use normal VMStateDescriptions for Subsections 2015-06-12 06:53:57 +02:00
hcd-uhci.c uhci: controller is halted after reset 2015-05-08 13:01:08 +02:00
hcd-xhci.c maint: avoid useless "if (foo) free(foo)" pattern 2015-09-11 10:21:38 +03:00
host-legacy.c
host-libusb.c maint: remove / fix many doubled words 2015-09-11 10:21:38 +03:00
host-stub.c
host.h
libhw.c
Makefile.objs
quirks-ftdi-ids.h
quirks-pl2303-ids.h
quirks.c
quirks.h
redirect.c maint: remove unused include for signal.h 2015-09-11 10:21:38 +03:00