[PATCH 09/21] Remove unnecessary setting of cmos smp_cpu count

Anthony Liguori
2009-04-29T21:21:07Z

This is duplicate code.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
---
hw/pc.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/hw/pc.c b/hw/pc.c
index 35f9527..db34f53 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -265,7 +265,6 @@ static void cmos_init(ram_addr_t ram_size, ram_addr_t above_4g_mem_size,
rtc_set_memory(s, 0x5c, (unsigned int)above_4g_mem_size >> 24);
rtc_set_memory(s, 0x5d, (uint64_t)above_4g_mem_size >> 32);
}
- rtc_set_memory(s, 0x5f, smp_cpus - 1);

if (ram_size > (16 * 1024 * 1024))
val = (ram_size / 65536) - ((16 * 1024 * 1024) / 65536);
--
1.6.0.6