mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
8558e3943d
commit
070a24f4d2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue