summary refs log tree commit diff stats
path: root/hw/net/imx_fec.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2025-04-07 10:26:42 +0200
committerMarkus Armbruster <armbru@redhat.com>2025-04-24 09:33:42 +0200
commit8a2b516ba2855c4530388051de2b8d17bc780ea8 (patch)
tree1303019c401f96062ce5a35d591ba993d1b79a16 /hw/net/imx_fec.c
parent720a0e417ef0814d90aa884096a643b02ee854dc (diff)
downloadfocaccia-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/net/imx_fec.c')
-rw-r--r--hw/net/imx_fec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/net/imx_fec.c b/hw/net/imx_fec.c
index 0f0afda58a..b7c9ee0b9a 100644
--- a/hw/net/imx_fec.c
+++ b/hw/net/imx_fec.c
@@ -668,7 +668,6 @@ static void imx_default_write(IMXFECState *s, uint32_t index, uint32_t value)
 {
     qemu_log_mask(LOG_GUEST_ERROR, "[%s]%s: Bad address at offset 0x%"
                   PRIx32 "\n", TYPE_IMX_FEC, __func__, index * 4);
-    return;
 }
 
 static void imx_fec_write(IMXFECState *s, uint32_t index, uint32_t value)