WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Remove unused var from acpi_idle_do_entry

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Remove unused var from acpi_idle_do_entry().
From: Xen patchbot-unstable <patchbot@xxxxxxx>
Date: Fri, 20 May 2011 16:00:20 +0100
Delivery-date: Fri, 20 May 2011 08:04:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1305881081 -3600
# Node ID 5fb4c607049dccbee875f91e23de685d4e718b00
# Parent  ff35161fe9ed6abd3d8b1ae197787474d1dc999d
Remove unused var from acpi_idle_do_entry().

Signed-off-by: Keir Fraser <keir@xxxxxxx>
---


diff -r ff35161fe9ed -r 5fb4c607049d xen/arch/x86/acpi/cpu_idle.c
--- a/xen/arch/x86/acpi/cpu_idle.c      Fri May 20 09:33:53 2011 +0100
+++ b/xen/arch/x86/acpi/cpu_idle.c      Fri May 20 09:44:41 2011 +0100
@@ -273,8 +273,6 @@
 
 static void acpi_idle_do_entry(struct acpi_processor_cx *cx)
 {
-    int unused;
-
     switch ( cx->entry_method )
     {
     case ACPI_CSTATE_EM_FFH:
@@ -287,7 +285,7 @@
         /* Dummy wait op - must do something useless after P_LVL2 read
            because chipsets cannot guarantee that STPCLK# signal
            gets asserted in time to freeze execution properly. */
-        unused = inl(pmtmr_ioport);
+        inl(pmtmr_ioport);
         return;
     case ACPI_CSTATE_EM_HALT:
         safe_halt();

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Remove unused var from acpi_idle_do_entry()., Xen patchbot-unstable <=