qemu-patch-raspberry4/hw/mips
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
..
addr.c hw/mips: Add API to convert KVM guest KSEG0 <-> GPA 2014-06-18 16:58:10 +02:00
cputimer.c hw/mips/cputimer: Don't start periodic timer in KVM mode 2014-06-18 16:57:52 +02:00
gt64xxx_pci.c gt64xxx: remove isa_mem_base usage 2015-02-13 14:09:27 +00:00
Makefile.objs mips jazz: compile only in 64 bit 2015-06-11 10:13:29 +01:00
mips_fulong2e.c target-mips: fix memory leak 2015-04-30 16:06:17 +03:00
mips_int.c hw/mips: In KVM mode, inject IRQ2 (I/O) interrupts via ioctls 2014-06-18 16:59:12 +02:00
mips_jazz.c net/dp8393x: add PROM to store MAC address 2015-06-11 10:13:30 +01:00
mips_malta.c target-mips: add Unified Hosting Interface (UHI) support 2015-06-26 09:08:50 +01:00
mips_mipssim.c mips: memory: Replace memory_region_init_ram with memory_region_allocate_system_memory 2015-03-25 14:35:31 +01:00
mips_r4k.c maint: avoid useless "if (foo) free(foo)" pattern 2015-09-11 10:21:38 +03:00