hw/acpi/ghes: Make ghes_record_cper_errors() static
authorGavin Shan <gshan@redhat.com>
Fri, 14 Feb 2025 04:16:32 +0000 (14:16 +1000)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 4 Mar 2025 13:45:34 +0000 (14:45 +0100)
commit611f3bdb20f7828b0813aa90d47d1275ef18329b
tree733ce68c1fe4f8456b5f412020cd200c6d829a8f
parent00ad70b7fb527a80b31c8b6b1a0e7a66b0d08498
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>
hw/acpi/ghes.c
include/hw/acpi/ghes.h