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

[Xen-changelog] [xen-unstable] cpufreq: remove unused variable cpu_count.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1223629270 -3600
# Node ID 3c0862d49df7ae38cdafce520d81cf1f1c23c600
# Parent  a175b2c039ed2481e4064a8256bd29f15c98d0d1
cpufreq: remove unused variable cpu_count.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 xen/drivers/cpufreq/cpufreq.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)

diff -r a175b2c039ed -r 3c0862d49df7 xen/drivers/cpufreq/cpufreq.c
--- a/xen/drivers/cpufreq/cpufreq.c     Fri Oct 10 10:00:54 2008 +0100
+++ b/xen/drivers/cpufreq/cpufreq.c     Fri Oct 10 10:01:10 2008 +0100
@@ -213,7 +213,7 @@ static void print_PSD( struct xen_psd_pa
 
 int set_px_pminfo(uint32_t acpi_id, struct xen_processor_performance 
*dom0_px_info)
 {
-    int cpu_count = 0, ret=0, cpuid;
+    int ret=0, cpuid;
     struct processor_pminfo *pmpt;
     struct processor_performance *pxpt;
 
@@ -298,7 +298,6 @@ int set_px_pminfo(uint32_t acpi_id, stru
                 XEN_PX_PSD | XEN_PX_PPC ) )
     {
         pxpt->init = XEN_PX_INIT;
-        cpu_count++;
 
         ret = cpufreq_cpu_init(cpuid);
         goto out;

_______________________________________________
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®.