Message ID | 1241040038-17183-10-git-send-email-aliguori@us.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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);
This is duplicate code. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> --- hw/pc.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)