mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
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 988ad4cceb
(hw/loongarch/virt:
Fix cpuslot::cpu set at last in virt_cpu_plug()) resolved]
This commit is contained in:
parent
720a0e417e
commit
8a2b516ba2
113 changed files with 0 additions and 196 deletions
|
@ -630,8 +630,6 @@ static void core99_instance_init(Object *obj)
|
|||
object_property_set_description(obj, "via",
|
||||
"Set VIA configuration. "
|
||||
"Valid values are cuda, pmu and pmu-adb");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static const TypeInfo core99_machine_info = {
|
||||
|
|
|
@ -150,7 +150,6 @@ static void pnv_occ_common_area_write(void *opaque, hwaddr addr,
|
|||
uint64_t val, unsigned width)
|
||||
{
|
||||
/* callback function defined to occ common area write */
|
||||
return;
|
||||
}
|
||||
|
||||
static const MemoryRegionOps pnv_occ_power8_xscom_ops = {
|
||||
|
|
|
@ -981,7 +981,6 @@ static void spapr_check_setup_free_hpt(SpaprMachineState *spapr,
|
|||
/* RADIX->HASH || NOTHING->HASH : Allocate HPT */
|
||||
spapr_setup_hpt(spapr);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
#define FLAGS_MASK 0x01FULL
|
||||
|
|
|
@ -1735,7 +1735,6 @@ static void exit_process_output_buffer(SpaprMachineState *spapr,
|
|||
getset_state(spapr, guest, vcpuid, &gsr);
|
||||
|
||||
address_space_unmap(CPU(cpu)->as, gsb, len, true, len);
|
||||
return;
|
||||
}
|
||||
|
||||
static
|
||||
|
|
|
@ -235,8 +235,6 @@ void spapr_dt_persistent_memory(SpaprMachineState *spapr, void *fdt)
|
|||
spapr_dt_nvdimm(spapr, fdt, offset, nvdimm);
|
||||
}
|
||||
g_slist_free(nvdimms);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static target_ulong h_scm_read_metadata(PowerPCCPU *cpu,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue