summary refs log tree commit diff stats
path: root/hw/vfio/pci.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/vfio/pci.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/vfio/pci.c')
-rw-r--r--hw/vfio/pci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
index 7f1532fbed..f87f3ccbe1 100644
--- a/hw/vfio/pci.c
+++ b/hw/vfio/pci.c
@@ -2383,7 +2383,6 @@ static void vfio_add_ext_cap(VFIOPCIDevice *vdev)
     }
 
     g_free(config);
-    return;
 }
 
 static bool vfio_add_capabilities(VFIOPCIDevice *vdev, Error **errp)