diff options
| author | Thomas Huth <thuth@redhat.com> | 2015-10-09 17:56:35 +0200 |
|---|---|---|
| committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-11-06 15:42:38 +0300 |
| commit | 1a13b27273cdc4f6fd18bc1e83950d47c6b5928b (patch) | |
| tree | 0b7aac1d2cd7118dc7eb66c647bc92698cdff365 /ui/curses.c | |
| parent | e9d49d518d5d2b0411ee2625e46662a6065a909c (diff) | |
| download | focaccia-qemu-1a13b27273cdc4f6fd18bc1e83950d47c6b5928b.tar.gz focaccia-qemu-1a13b27273cdc4f6fd18bc1e83950d47c6b5928b.zip | |
hw/dma/pxa2xx: Remove superfluous memset
g_malloc0 already clears the memory, so no need for the additional memset here. And while we're at it, also convert the g_malloc0 to the preferred g_new0. 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 'ui/curses.c')
0 files changed, 0 insertions, 0 deletions