[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Remove unused var from acpi_idle_do_entry().
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |