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> |
||
|---|---|---|
| .. | ||
| Makefile.objs | ||
| etraxfs_dma.c | ||
| i8257.c | ||
| i82374.c | ||
| omap_dma.c | ||
| pl080.c | ||
| pl330.c | ||
| puv3_dma.c | ||
| pxa2xx_dma.c | ||
| rc4030.c | ||
| soc_dma.c | ||
| sparc32_dma.c | ||
| sun4m_iommu.c | ||
| xilinx_axidma.c | ||