a6c6d82760
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> |
||
---|---|---|
.. | ||
adb.c | ||
hid.c | ||
lm832x.c | ||
Makefile.objs | ||
milkymist-softusb.c | ||
pckbd.c | ||
pl050.c | ||
ps2.c | ||
pxa2xx_keypad.c | ||
stellaris_input.c | ||
tsc210x.c | ||
tsc2005.c | ||
virtio-input-hid.c | ||
virtio-input-host.c | ||
virtio-input.c | ||
vmmouse.c |