diff options
author | Thomas Huth <thuth@redhat.com> | 2015-10-09 17:56:36 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-11-06 15:42:38 +0300 |
commit | a6c6d827605e416f0e127a325ee1efc9cf16afa5 (patch) | |
tree | 82db55296e541a12ac3da5a002e662f044cf9f11 /tests | |
parent | 2c21ec3d1818cb0395b5a9b73128e6920d44def7 (diff) | |
download | qemu-a6c6d827605e416f0e127a325ee1efc9cf16afa5.tar.gz qemu-a6c6d827605e416f0e127a325ee1efc9cf16afa5.tar.bz2 qemu-a6c6d827605e416f0e127a325ee1efc9cf16afa5.zip |
hw/input/tsc210x: Remove superfluous memset
g_malloc0 already clears the memory, so no need for additional
memsets here. And while we're at it, let's also remove the
superfluous typecasts for the return values of g_malloc0
and use the type-safe g_new0 instead.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions