diff options
author | Len Brown <len.brown@intel.com> | 2006-05-11 00:28:12 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-05-11 00:28:12 -0400 |
commit | 9011bff4bdc0fef1f9a782d7415c306ee61826c9 (patch) | |
tree | 6214e32b2148951416708ee6da0c862da67fa3f8 /drivers/acpi/processor_perflib.c | |
parent | 7e1f19e50371e1d148226b64c8edc77fec47fa5b (diff) |
ACPI: delete newly added debugging macros in processor_perflib.c
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/processor_perflib.c')
-rw-r--r-- | drivers/acpi/processor_perflib.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/acpi/processor_perflib.c b/drivers/acpi/processor_perflib.c index ffc5280334c8..431a8450346b 100644 --- a/drivers/acpi/processor_perflib.c +++ b/drivers/acpi/processor_perflib.c | |||
@@ -563,11 +563,9 @@ static int acpi_processor_get_psd(struct acpi_processor *pr) | |||
563 | union acpi_object *psd = NULL; | 563 | union acpi_object *psd = NULL; |
564 | struct acpi_psd_package *pdomain; | 564 | struct acpi_psd_package *pdomain; |
565 | 565 | ||
566 | ACPI_FUNCTION_TRACE("acpi_processor_get_psd"); | ||
567 | |||
568 | status = acpi_evaluate_object(pr->handle, "_PSD", NULL, &buffer); | 566 | status = acpi_evaluate_object(pr->handle, "_PSD", NULL, &buffer); |
569 | if (ACPI_FAILURE(status)) { | 567 | if (ACPI_FAILURE(status)) { |
570 | return_VALUE(-ENODEV); | 568 | return -ENODEV; |
571 | } | 569 | } |
572 | 570 | ||
573 | psd = (union acpi_object *) buffer.pointer; | 571 | psd = (union acpi_object *) buffer.pointer; |
@@ -610,7 +608,7 @@ static int acpi_processor_get_psd(struct acpi_processor *pr) | |||
610 | 608 | ||
611 | end: | 609 | end: |
612 | acpi_os_free(buffer.pointer); | 610 | acpi_os_free(buffer.pointer); |
613 | return_VALUE(result); | 611 | return result; |
614 | } | 612 | } |
615 | 613 | ||
616 | int acpi_processor_preregister_performance( | 614 | int acpi_processor_preregister_performance( |
@@ -625,8 +623,6 @@ int acpi_processor_preregister_performance( | |||
625 | struct acpi_processor *match_pr; | 623 | struct acpi_processor *match_pr; |
626 | struct acpi_psd_package *match_pdomain; | 624 | struct acpi_psd_package *match_pdomain; |
627 | 625 | ||
628 | ACPI_FUNCTION_TRACE("acpi_processor_preregister_performance"); | ||
629 | |||
630 | down(&performance_sem); | 626 | down(&performance_sem); |
631 | 627 | ||
632 | retval = 0; | 628 | retval = 0; |
@@ -776,7 +772,7 @@ err_ret: | |||
776 | } | 772 | } |
777 | 773 | ||
778 | up(&performance_sem); | 774 | up(&performance_sem); |
779 | return_VALUE(retval); | 775 | return retval; |
780 | } | 776 | } |
781 | EXPORT_SYMBOL(acpi_processor_preregister_performance); | 777 | EXPORT_SYMBOL(acpi_processor_preregister_performance); |
782 | 778 | ||