OSDN Git Service

hw/acpi: Remove extra indent in ACPI GED hotplug cb
authorKeqian Zhu <zhukeqian1@huawei.com>
Thu, 23 Jan 2020 15:22:39 +0000 (15:22 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 23 Jan 2020 15:22:39 +0000 (15:22 +0000)
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>
hw/acpi/generic_event_device.c

index 9cee90c..55eb29d 100644 (file)
@@ -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)));