Skip to content

Commit

Permalink
ACPI: Remove unnecessary cast.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H Hartley Sweeten authored and Len Brown committed Jan 16, 2010
1 parent 8558e39 commit 070a24f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/acpi/processor_thermal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 070a24f

Please sign in to comment.