On Wed, Mar 27, 2024 at 10:51:16AM +0100, Philippe Mathieu-Daudé wrote:
Date: Wed, 27 Mar 2024 10:51:16 +0100
From: Philippe Mathieu-Daudé <philmd(a)linaro.org>
Subject: [PATCH-for-9.1 v2 14/21] hw/mem/memory-device: Remove legacy_align
from memory_device_pre_plug()
X-Mailer: git-send-email 2.41.0
'legacy_align' is always NULL, remove it, simplifying
memory_device_pre_plug().
Signed-off-by: Philippe Mathieu-Daudé <philmd(a)linaro.org>
Reviewed-by: Thomas Huth <thuth(a)redhat.com>
Message-Id: <20240305134221.30924-12-philmd(a)linaro.org>
---
include/hw/mem/memory-device.h | 2 +-
hw/i386/pc.c | 3 +--
hw/mem/memory-device.c | 12 ++++--------
hw/mem/pc-dimm.c | 2 +-
hw/virtio/virtio-md-pci.c | 2 +-
5 files changed, 8 insertions(+), 13 deletions(-)
Reviewed-by: Zhao Liu <zhao1.liu(a)intel.com>