hw/mem/memory-device: Remove legacy_align from memory_device_pre_plug()
commit0e0bf77d28c573d4b8c8166829ba55664347a499
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 28 Feb 2024 09:26:53 +0000 (28 10:26 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 19 Jun 2024 10:40:49 +0000 (19 12:40 +0200)
treec80191992e4bcdbff9abba22c025b7fae40ce498
parentd4fdb05b0e640c8ce47ec2dd224e8838ca3f7958
hw/mem/memory-device: Remove legacy_align from memory_device_pre_plug()

'legacy_align' is always NULL, remove it, simplifying
memory_device_pre_plug().

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20240617071118.60464-16-philmd@linaro.org>
hw/i386/pc.c
hw/mem/memory-device.c
hw/mem/pc-dimm.c
hw/virtio/virtio-md-pci.c
include/hw/mem/memory-device.h