WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

RE: [Xen-devel] [PATCH] cpufreq: remove unused variable cpu_count.

To: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] cpufreq: remove unused variable cpu_count.
From: "Yu, Ke" <ke.yu@xxxxxxxxx>
Date: 2008年10月10日 12:59:07 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "Lu, Guanqun" <guanqun.lu@xxxxxxxxx>
Delivery-date: 2008年10月09日 22:01:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20081010023333.GE15928%yamahata@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20081010023333.GE15928%yamahata@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckqgKh5mN7RHi6DQe6R/pkdcUNLoAAFDj3A
Thread-topic: [Xen-devel] [PATCH] cpufreq: remove unused variable cpu_count.
ACKed
Best Regards
Ke
Isaku Yamahata wrote:
> 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;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] Self Domid , Kumar, Venkat
Next by Date: RE: [Xen-devel] Strange PCI Passthrough problem , Cui, Dexuan
Previous by Thread: [Xen-devel] [PATCH] cpufreq: remove unused variable cpu_count. , Isaku Yamahata
Next by Thread: [Xen-devel] [PATCH] Fix the detection of the upmost bridge in the python function find_parent() , Cui, Dexuan
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /