diff options
| author | Markus Armbruster <armbru@redhat.com> | 2025-04-07 10:26:42 +0200 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2025-04-24 09:33:42 +0200 |
| commit | 8a2b516ba2855c4530388051de2b8d17bc780ea8 (patch) | |
| tree | 1303019c401f96062ce5a35d591ba993d1b79a16 /hw/display | |
| parent | 720a0e417ef0814d90aa884096a643b02ee854dc (diff) | |
| download | focaccia-qemu-8a2b516ba2855c4530388051de2b8d17bc780ea8.tar.gz focaccia-qemu-8a2b516ba2855c4530388051de2b8d17bc780ea8.zip | |
cleanup: Drop pointless return at end of function
A few functions now end with a label. The next commit will clean them up. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20250407082643.2310002-3-armbru@redhat.com> [Straightforward conflict with commit 988ad4ccebb6 (hw/loongarch/virt: Fix cpuslot::cpu set at last in virt_cpu_plug()) resolved]
Diffstat (limited to 'hw/display')
| -rw-r--r-- | hw/display/macfb.c | 1 | ||||
| -rw-r--r-- | hw/display/tcx.c | 1 | ||||
| -rw-r--r-- | hw/display/virtio-gpu-base.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/hw/display/macfb.c b/hw/display/macfb.c index e83fc863be..b08eb06cbd 100644 --- a/hw/display/macfb.c +++ b/hw/display/macfb.c @@ -383,7 +383,6 @@ static void macfb_sense_write(MacfbState *s, uint32_t val) s->regs[DAFB_MODE_SENSE >> 2] = val; trace_macfb_sense_write(val); - return; } static void macfb_update_mode(MacfbState *s) diff --git a/hw/display/tcx.c b/hw/display/tcx.c index 2cfc1e8f01..5968d33e48 100644 --- a/hw/display/tcx.c +++ b/hw/display/tcx.c @@ -729,7 +729,6 @@ static uint64_t tcx_dummy_readl(void *opaque, hwaddr addr, static void tcx_dummy_writel(void *opaque, hwaddr addr, uint64_t val, unsigned size) { - return; } static const MemoryRegionOps tcx_dummy_ops = { diff --git a/hw/display/virtio-gpu-base.c b/hw/display/virtio-gpu-base.c index 7827536ac4..321a6f4998 100644 --- a/hw/display/virtio-gpu-base.c +++ b/hw/display/virtio-gpu-base.c @@ -110,7 +110,6 @@ static void virtio_gpu_ui_info(void *opaque, uint32_t idx, QemuUIInfo *info) /* send event to guest */ virtio_gpu_notify_event(g, VIRTIO_GPU_EVENT_DISPLAY); - return; } static void |