qemu-patch-raspberry4/hw/xen
Daniel P. Berrange ef1e1e0782 maint: avoid useless "if (foo) free(foo)" pattern
The free() and g_free() functions both happily accept
NULL on any platform QEMU builds on. As such putting a
conditional 'if (foo)' check before calls to 'free(foo)'
merely serves to bloat the lines of code.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-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
..
Makefile.objs xen, gfx passthrough: basic graphics passthrough support 2015-09-10 12:04:28 +00:00
xen-host-pci-device.c xen/pt: Make xen_pt_unregister_device idempotent 2015-09-10 16:47:20 +00:00
xen-host-pci-device.h xen/pt: Make xen_pt_unregister_device idempotent 2015-09-10 16:47:20 +00:00
xen_backend.c xen_backend: Remove unused error handling of qemu_set_fd_handler 2015-06-12 13:26:21 +01:00
xen_devconfig.c hw: Convert from BlockDriverState to BlockBackend, mostly 2014-10-20 14:02:25 +02:00
xen_pt.c xen/pt: Don't slurp wholesale the PCI configuration registers 2015-09-10 16:47:28 +00:00
xen_pt.h xen/pt: Make xen_pt_unregister_device idempotent 2015-09-10 16:47:20 +00:00
xen_pt_config_init.c maint: avoid useless "if (foo) free(foo)" pattern 2015-09-11 10:21:38 +03:00
xen_pt_graphics.c xen, gfx passthrough: add opregion mapping 2015-09-10 12:04:29 +00:00
xen_pt_msi.c xen/pt: Log xen_host_pci_get/set errors in MSI code. 2015-09-10 16:47:18 +00:00