summary refs log tree commit diff stats
path: root/include/hw/acpi/ghes.h
diff options
context:
space:
mode:
authorGavin Shan <gshan@redhat.com>2025-02-14 14:16:32 +1000
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-03-04 14:45:34 +0100
commit611f3bdb20f7828b0813aa90d47d1275ef18329b (patch)
tree733ce68c1fe4f8456b5f412020cd200c6d829a8f /include/hw/acpi/ghes.h
parent00ad70b7fb527a80b31c8b6b1a0e7a66b0d08498 (diff)
downloadfocaccia-qemu-611f3bdb20f7828b0813aa90d47d1275ef18329b.tar.gz
focaccia-qemu-611f3bdb20f7828b0813aa90d47d1275ef18329b.zip
hw/acpi/ghes: Make ghes_record_cper_errors() static
acpi_ghes_memory_errors() is the only caller, no need to expose
the function. Besides, the last 'return' in this function isn't
necessary and remove it.

No functional changes intended.

Signed-off-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250214041635.608012-2-gshan@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'include/hw/acpi/ghes.h')
-rw-r--r--include/hw/acpi/ghes.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/hw/acpi/ghes.h b/include/hw/acpi/ghes.h
index 39619a2457..578a582203 100644
--- a/include/hw/acpi/ghes.h
+++ b/include/hw/acpi/ghes.h
@@ -75,8 +75,6 @@ void acpi_build_hest(GArray *table_data, GArray *hardware_errors,
 void acpi_ghes_add_fw_cfg(AcpiGhesState *vms, FWCfgState *s,
                           GArray *hardware_errors);
 int acpi_ghes_memory_errors(uint16_t source_id, uint64_t error_physical_addr);
-void ghes_record_cper_errors(const void *cper, size_t len,
-                             uint16_t source_id, Error **errp);
 
 /**
  * acpi_ghes_present: Report whether ACPI GHES table is present