ia64/xen-unstable

changeset 18608:3c0862d49df7

cpufreq: remove unused variable cpu_count.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Oct 10 10:01:10 2008 +0100 (2008-10-10)
parents a175b2c039ed
children a9be7b357b0b
files xen/drivers/cpufreq/cpufreq.c
line diff
     1.1 --- a/xen/drivers/cpufreq/cpufreq.c	Fri Oct 10 10:00:54 2008 +0100
     1.2 +++ b/xen/drivers/cpufreq/cpufreq.c	Fri Oct 10 10:01:10 2008 +0100
     1.3 @@ -213,7 +213,7 @@ static void print_PSD( struct xen_psd_pa
     1.4  
     1.5  int set_px_pminfo(uint32_t acpi_id, struct xen_processor_performance *dom0_px_info)
     1.6  {
     1.7 -    int cpu_count = 0, ret=0, cpuid;
     1.8 +    int ret=0, cpuid;
     1.9      struct processor_pminfo *pmpt;
    1.10      struct processor_performance *pxpt;
    1.11  
    1.12 @@ -298,7 +298,6 @@ int set_px_pminfo(uint32_t acpi_id, stru
    1.13                  XEN_PX_PSD | XEN_PX_PPC ) )
    1.14      {
    1.15          pxpt->init = XEN_PX_INIT;
    1.16 -        cpu_count++;
    1.17  
    1.18          ret = cpufreq_cpu_init(cpuid);
    1.19          goto out;