From patchwork Tue Jan 5 06:27:28 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Isaku Yamahata X-Patchwork-Id: 42183 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id B06B9B6EF0 for ; Wed, 6 Jan 2010 08:09:01 +1100 (EST) Received: from localhost ([127.0.0.1]:40224 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSGeA-0004u4-Ky for incoming@patchwork.ozlabs.org; Tue, 05 Jan 2010 16:08:58 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSFPr-0007UI-QW for qemu-devel@nongnu.org; Tue, 05 Jan 2010 14:50:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSFPm-0007QR-QY for qemu-devel@nongnu.org; Tue, 05 Jan 2010 14:50:07 -0500 Received: from [199.232.76.173] (port=40913 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSFPm-0007QM-Ls for qemu-devel@nongnu.org; Tue, 05 Jan 2010 14:50:02 -0500 Received: from mx20.gnu.org ([199.232.41.8]:36255) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NSFPm-0003Ef-Am for qemu-devel@nongnu.org; Tue, 05 Jan 2010 14:50:02 -0500 Received: from mail.valinux.co.jp ([210.128.90.3]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NS2uy-0003rm-Sc for qemu-devel@nongnu.org; Tue, 05 Jan 2010 01:29:25 -0500 Received: from ps.local.valinux.co.jp (vagw.valinux.co.jp [210.128.90.14]) by mail.valinux.co.jp (Postfix) with SMTP id 89C1A1829A; Tue, 5 Jan 2010 15:27:46 +0900 (JST) Received: (nullmailer pid 22654 invoked by uid 1000); Tue, 05 Jan 2010 06:27:50 -0000 From: Isaku Yamahata To: qemu-devel@nongnu.org, kraxel@redhat.com Date: Tue, 5 Jan 2010 15:27:28 +0900 Message-Id: <1262672870-22607-6-git-send-email-yamahata@valinux.co.jp> X-Mailer: git-send-email 1.6.5.4 In-Reply-To: <1262672870-22607-1-git-send-email-yamahata@valinux.co.jp> References: <1262672870-22607-1-git-send-email-yamahata@valinux.co.jp> X-Virus-Scanned: clamav-milter 0.95.2 at va-mail.local.valinux.co.jp X-Virus-Status: Clean X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: yamahata@valinux.co.jp Subject: [Qemu-devel] [PATCH V11 05/27] acpi_piix4: remove unused variable in get_pmsts(). X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org remove unused variable in get_pmsts(). Signed-off-by: Isaku Yamahata --- 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 71b1156..802cd92 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)