]> git.proxmox.com Git - mirror_qemu.git/commit
hw/arm/virt-acpi-build: remove unnecessary variable mcfg_start
authorWei Yang <richardw.yang@linux.intel.com>
Fri, 19 Apr 2019 00:30:49 +0000 (08:30 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 20 May 2019 22:40:02 +0000 (18:40 -0400)
commitccf0f0f2c200806e3ed6be6c5dfa7ee3abb2e7b7
tree459aceda58e65acef096440b7d0567f01925f48b
parent6ab79a20af3a7b3bf610ba9aebb446a9f0b05930
hw/arm/virt-acpi-build: remove unnecessary variable mcfg_start

mcfg_start points to the start of MCFG table and is used in
build_header. While this information could be derived from mcfg.

This patch removes the unnecessary variable mcfg_start.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190419003053.8260-3-richardw.yang@linux.intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/arm/virt-acpi-build.c