ACPI: Remove unnecessary cast.
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 8 Jan 2010 18:12:41 +0000 (11:12 -0700)
committerLen Brown <len.brown@intel.com>
Sat, 16 Jan 2010 04:06:44 +0000 (23:06 -0500)
The struct seq_file 'private' member is a void *, the cast is not needed.
Also, remove an extra whitespace line.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/processor_thermal.c

index 140c5c5..6deafb4 100644 (file)
@@ -443,8 +443,7 @@ struct thermal_cooling_device_ops processor_cooling_ops = {
 #ifdef CONFIG_ACPI_PROCFS
 static int acpi_processor_limit_seq_show(struct seq_file *seq, void *offset)
 {
-       struct acpi_processor *pr = (struct acpi_processor *)seq->private;
-
+       struct acpi_processor *pr = seq->private;
 
        if (!pr)
                goto end;