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

[Xen-changelog] [xen-unstable] Cpufreq: remove redundant fragments



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1231154140 0
# Node ID 42108955f52e127a91ca928818b45a6cb29f5d54
# Parent  f76f1294d82c87871e274d92282d092a0fdc09f5
Cpufreq: remove redundant fragments

Signed-off-by: Liu, Jinsong <jinsong.liu@xxxxxxxxx>
---
 xen/common/schedule.c                     |    2 +-
 xen/include/acpi/cpufreq/processor_perf.h |    2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff -r f76f1294d82c -r 42108955f52e xen/common/schedule.c
--- a/xen/common/schedule.c     Mon Jan 05 11:14:18 2009 +0000
+++ b/xen/common/schedule.c     Mon Jan 05 11:15:40 2009 +0000
@@ -119,7 +119,7 @@ void vcpu_runstate_get(struct vcpu *v, s
 
 uint64_t get_cpu_idle_time(unsigned int cpu)
 {
-    struct vcpu_runstate_info state = { .state = RUNSTATE_running };
+    struct vcpu_runstate_info state;
     struct vcpu *v;
 
     if ( (v = idle_vcpu[cpu]) == NULL )
diff -r f76f1294d82c -r 42108955f52e xen/include/acpi/cpufreq/processor_perf.h
--- a/xen/include/acpi/cpufreq/processor_perf.h Mon Jan 05 11:14:18 2009 +0000
+++ b/xen/include/acpi/cpufreq/processor_perf.h Mon Jan 05 11:15:40 2009 +0000
@@ -18,8 +18,6 @@ int  cpufreq_limit_change(unsigned int);
 
 int  cpufreq_add_cpu(unsigned int);
 int  cpufreq_del_cpu(unsigned int);
-
-uint64_t get_cpu_idle_time(unsigned int);
 
 struct processor_performance {
     uint32_t state;

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.