|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] cpufreq: remove unused variable cpu_count.
cpufreq: remove unused variable cpu_count.
cpu_count isn't used so remove it.
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
diff -r 6f5ff1301ae8 xen/drivers/cpufreq/cpufreq.c
--- a/xen/drivers/cpufreq/cpufreq.c Fri Oct 10 11:31:55 2008 +0900
+++ b/xen/drivers/cpufreq/cpufreq.c Fri Oct 10 11:32:40 2008 +0900
@@ -213,7 +213,7 @@
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 @@
XEN_PX_PSD | XEN_PX_PPC ) )
{
pxpt->init = XEN_PX_INIT;
- cpu_count++;
ret = cpufreq_cpu_init(cpuid);
goto out;
--
yamahata
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] cpufreq: remove unused variable cpu_count.,
Isaku Yamahata <=
|
|
|
|
|