From patchwork Thu Dec 24 08:08:58 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Isaku Yamahata X-Patchwork-Id: 41766 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 608BCB7BF4 for ; Thu, 24 Dec 2009 20:20:19 +1100 (EST) Received: from localhost ([127.0.0.1]:54040 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NNjrj-0005PU-5p for incoming@patchwork.ozlabs.org; Thu, 24 Dec 2009 04:20:15 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NNj9Q-0001qb-3f for qemu-devel@nongnu.org; Thu, 24 Dec 2009 03:34:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NNj9I-0001gX-6E for qemu-devel@nongnu.org; Thu, 24 Dec 2009 03:34:24 -0500 Received: from [199.232.76.173] (port=41409 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NNj9H-0001gN-UL for qemu-devel@nongnu.org; Thu, 24 Dec 2009 03:34:20 -0500 Received: from mail.valinux.co.jp ([210.128.90.3]:55628) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NNj9H-0006Zd-Mp for qemu-devel@nongnu.org; Thu, 24 Dec 2009 03:34:20 -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 1BFDF106AD2; Thu, 24 Dec 2009 17:09:28 +0900 (JST) Received: (nullmailer pid 22793 invoked by uid 1000); Thu, 24 Dec 2009 08:09:20 -0000 From: Isaku Yamahata To: qemu-devel@nongnu.org, kraxel@redhat.com Date: Thu, 24 Dec 2009 17:08:58 +0900 Message-Id: <1261642160-22754-6-git-send-email-yamahata@valinux.co.jp> X-Mailer: git-send-email 1.6.5.4 In-Reply-To: <1261642160-22754-1-git-send-email-yamahata@valinux.co.jp> References: <1261642160-22754-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 monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: yamahata@valinux.co.jp Subject: [Qemu-devel] [PATCH V10 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 53efa2a..887c82f 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)