Skip to content

Commit

Permalink
ACPI: delete newly added debugging macros in processor_perflib.c
Browse files Browse the repository at this point in the history
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Len Brown committed May 11, 2006
1 parent 7e1f19e commit 9011bff
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions drivers/acpi/processor_perflib.c
Original file line number Diff line number Diff line change
Expand Up @@ -563,11 +563,9 @@ static int acpi_processor_get_psd(struct acpi_processor *pr)
union acpi_object *psd = NULL;
struct acpi_psd_package *pdomain;

ACPI_FUNCTION_TRACE("acpi_processor_get_psd");

status = acpi_evaluate_object(pr->handle, "_PSD", NULL, &buffer);
if (ACPI_FAILURE(status)) {
return_VALUE(-ENODEV);
return -ENODEV;
}

psd = (union acpi_object *) buffer.pointer;
Expand Down Expand Up @@ -610,7 +608,7 @@ static int acpi_processor_get_psd(struct acpi_processor *pr)

end:
acpi_os_free(buffer.pointer);
return_VALUE(result);
return result;
}

int acpi_processor_preregister_performance(
Expand All @@ -625,8 +623,6 @@ int acpi_processor_preregister_performance(
struct acpi_processor *match_pr;
struct acpi_psd_package *match_pdomain;

ACPI_FUNCTION_TRACE("acpi_processor_preregister_performance");

down(&performance_sem);

retval = 0;
Expand Down Expand Up @@ -776,7 +772,7 @@ int acpi_processor_preregister_performance(
}

up(&performance_sem);
return_VALUE(retval);
return retval;
}
EXPORT_SYMBOL(acpi_processor_preregister_performance);

Expand Down

0 comments on commit 9011bff

Please sign in to comment.