Re: 2.6.15-rc5-mm2

From: Benoit Boissinot
Date: Sun Dec 11 2005 - 07:39:23 EST


On 12/11/05, Andrew Morton <akpm@xxxxxxxx> wrote:
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.15-rc5/2.6.15-rc5-mm2/
>
> - Many new driver updates and architecture updates
>
> - New CPU scheduler policy: SCHED_BATCH.
>
> - New version of the hrtimers code.
>

Fix unused variable warning

Signed-off-by: Benoit Boissinot <benoit.boissinot@xxxxxxxxxxxx>

Index: linux/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
===================================================================
--- linux.orig/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
+++ linux/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
@@ -305,10 +305,6 @@ acpi_cpufreq_cpu_init (
unsigned int result = 0;
struct cpuinfo_x86 *c = &cpu_data[policy->cpu];

- union acpi_object arg0 = {ACPI_TYPE_BUFFER};
- u32 arg0_buf[3];
- struct acpi_object_list arg_list = {1, &arg0};
-
dprintk("acpi_cpufreq_cpu_init\n");

data = kzalloc(sizeof(struct cpufreq_acpi_io), GFP_KERNEL);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/