mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Cpufreq: remove redundant fragments
Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
This commit is contained in:
1 parent
dca0b1a805
commit
8005ca26cb
2 files changed
+1
-3
No files matched your search
@@ -119,7 +119,7 @@ void vcpu_runstate_get(struct vcpu *v, struct vcpu_runstate_info *runstate)
|
||||
|
||||
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 )
|
||||
|
||||
@@ -19,8 +19,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;
|
||||
uint32_t platform_limit;
|
||||
|
||||