hw/dma/pxa2xx: Remove superfluous memset
commit1a13b27273cdc4f6fd18bc1e83950d47c6b5928b
authorThomas Huth <thuth@redhat.com>
Fri, 9 Oct 2015 15:56:35 +0000 (9 17:56 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 6 Nov 2015 12:42:38 +0000 (6 15:42 +0300)
tree0b7aac1d2cd7118dc7eb66c647bc92698cdff365
parente9d49d518d5d2b0411ee2625e46662a6065a909c
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>
hw/dma/pxa2xx_dma.c