diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2010-01-08 11:12:41 -0700 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-01-15 23:06:44 -0500 |
commit | 070a24f4d238612bede515023893b18f494774c4 (patch) | |
tree | 7f29dfa177f5d6dd5febd1df82246b224a5be855 /drivers/acpi | |
parent | 8558e3943df1c51c3377cb4e8a52ea484d6f357d (diff) | |
download | talos-obmc-linux-070a24f4d238612bede515023893b18f494774c4.tar.gz talos-obmc-linux-070a24f4d238612bede515023893b18f494774c4.zip |
ACPI: Remove unnecessary cast.
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/processor_thermal.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/acpi/processor_thermal.c b/drivers/acpi/processor_thermal.c index 140c5c5b423c..6deafb4aa0da 100644 --- a/drivers/acpi/processor_thermal.c +++ b/drivers/acpi/processor_thermal.c @@ -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; |