qemu-e2k/hw/display
Markus Armbruster 0a553c12c7 Drop useless casts from g_malloc() & friends to pointer
These memory allocation functions return void *, and casting to
another pointer type is useless clutter.  Drop these casts.

If you really want another pointer type, consider g_new().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220923120025.448759-3-armbru@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2022-10-22 23:15:40 +02:00
..
artist.c
ati_2d.c
ati_dbg.c
ati_int.h
ati_regs.h
ati.c
bcm2835_fb.c
blizzard.c Drop useless casts from g_malloc() & friends to pointer 2022-10-22 23:15:40 +02:00
bochs-display.c
cg3.c
cirrus_vga_internal.h
cirrus_vga_isa.c
cirrus_vga_rop2.h
cirrus_vga_rop.h
cirrus_vga.c
dpcd.c
edid-generate.c
edid-region.c
exynos4210_fimd.c
framebuffer.c
framebuffer.h
g364fb.c
i2c-ddc.c
jazz_led.c
Kconfig
macfb.c
meson.build
next-fb.c
omap_dss.c
omap_lcdc.c
pl110_template.h
pl110.c
pxa2xx_lcd.c
qxl-logger.c
qxl-render.c
qxl.c
qxl.h
ramfb-standalone.c
ramfb.c
sii9022.c
sm501.c
ssd0303.c
ssd0323.c
tc6393xb.c
tcx.c
trace-events
trace.h
vga_int.h
vga_regs.h
vga-access.h
vga-helpers.h
vga-isa.c
vga-mmio.c
vga-pci.c
vga.c
vhost-user-gpu-pci.c
vhost-user-gpu.c
vhost-user-vga.c
virtio-gpu-base.c
virtio-gpu-gl.c
virtio-gpu-pci-gl.c
virtio-gpu-pci.c
virtio-gpu-udmabuf-stubs.c
virtio-gpu-udmabuf.c
virtio-gpu-virgl.c
virtio-gpu.c
virtio-vga-gl.c
virtio-vga.c
virtio-vga.h
vmware_vga.c
xenfb.c
xlnx_dp.c