Commit 070a24f4 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Len Brown
Browse files

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: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 8558e394
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;