aboutsummaryrefslogtreecommitdiff
path: root/hw/acpi
diff options
context:
space:
mode:
authorKeqian Zhu <zhukeqian1@huawei.com>2020-01-23 15:22:39 +0000
committerPeter Maydell <peter.maydell@linaro.org>2020-01-23 15:22:39 +0000
commitde1a8336a007041fc5350a0539f98900d469559c (patch)
tree606e791e9e94c5c50e0921a61875e279255f1d68 /hw/acpi
parentdd684ead2958b26f48484ff0f681bb151be22a7c (diff)
downloadqemu-de1a8336a007041fc5350a0539f98900d469559c.zip
qemu-de1a8336a007041fc5350a0539f98900d469559c.tar.gz
qemu-de1a8336a007041fc5350a0539f98900d469559c.tar.bz2
hw/acpi: Remove extra indent in ACPI GED hotplug cb
There is extra indent in ACPI GED hotplug cb that should be deleted. Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com> Message-id: 20200120012755.44581-2-zhukeqian1@huawei.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/acpi')
-rw-r--r--hw/acpi/generic_event_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/acpi/generic_event_device.c b/hw/acpi/generic_event_device.c
index 9cee90c..55eb29d 100644
--- a/hw/acpi/generic_event_device.c
+++ b/hw/acpi/generic_event_device.c
@@ -175,7 +175,7 @@ static void acpi_ged_device_plug_cb(HotplugHandler *hotplug_dev,
AcpiGedState *s = ACPI_GED(hotplug_dev);
if (object_dynamic_cast(OBJECT(dev), TYPE_PC_DIMM)) {
- acpi_memory_plug_cb(hotplug_dev, &s->memhp_state, dev, errp);
+ acpi_memory_plug_cb(hotplug_dev, &s->memhp_state, dev, errp);
} else {
error_setg(errp, "virt: device plug request for unsupported device"
" type: %s", object_get_typename(OBJECT(dev)));