qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 05/61] acpi_piix4: remove unused variable in get_pms


From: Isaku Yamahata
Subject: [Qemu-devel] [PATCH 05/61] acpi_piix4: remove unused variable in get_pmsts().
Date: Wed, 30 Sep 2009 19:17:41 +0900

remove unused variable in get_pmsts().

Signed-off-by: Isaku Yamahata <address@hidden>
---
 hw/acpi_piix4.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/hw/acpi_piix4.c b/hw/acpi_piix4.c
index 429afd9..5f3ee9a 100644
--- a/hw/acpi_piix4.c
+++ b/hw/acpi_piix4.c
@@ -63,8 +63,6 @@ static uint32_t get_pmtmr(PIIX4PMState *s)
 static int get_pmsts(PIIX4PMState *s)
 {
     int64_t d;
-    int pmsts;
-    pmsts = s->pmsts;
     d = muldiv64(qemu_get_clock(vm_clock), PM_TIMER_FREQUENCY,
                  get_ticks_per_sec());
     if (d >= s->tmr_overflow_time)
-- 
1.6.0.2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]