On Wed, Mar 27, 2024 at 10:51:08AM +0100, Philippe Mathieu-Daudé wrote:
Date: Wed, 27 Mar 2024 10:51:08 +0100
From: Philippe Mathieu-Daudé <philmd(a)linaro.org>
Subject: [PATCH-for-9.1 v2 06/21] hw/acpi/ich9: Remove dead code related to
'acpi_memory_hotplug'
X-Mailer: git-send-email 2.41.0
acpi_memory_hotplug::is_enabled is set to %true once via
ich9_lpc_initfn() -> ich9_pm_add_properties(). No need to
check it, so remove now dead code.
Signed-off-by: Philippe Mathieu-Daudé <philmd(a)linaro.org>
---
hw/acpi/ich9.c | 28 ++++++----------------------
1 file changed, 6 insertions(+), 22 deletions(-)
Reviewed-by: Zhao Liu <zhao1.liu(a)intel.com>