projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8558e39
)
ACPI: Remove unnecessary cast.
author
H Hartley Sweeten
<hartleys@visionengravers.com>
Fri, 8 Jan 2010 18:12:41 +0000
(11:12 -0700)
committer
Len 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
patch
|
blob
|
history
diff --git
a/drivers/acpi/processor_thermal.c
b/drivers/acpi/processor_thermal.c
index 140c5c5b423c6361fabb3535e362eb9c18e71fb3..6deafb4aa0da02c44e3e4c1ded6d46c105a22012 100644
(file)
--- 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;