qemu-e2k/hw/net/fsl_etsec
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
..
etsec.c etsec: Flush queue when rx buffer is consumed 2015-07-27 14:12:18 +01:00
etsec.h etsec: Flush queue when rx buffer is consumed 2015-07-27 14:12:18 +01:00
miim.c
registers.c
registers.h
rings.c maint: avoid useless "if (foo) free(foo)" pattern 2015-09-11 10:21:38 +03:00