patch-2.4.14 linux/drivers/acpi/hardware/hwtimer.c

Next file: linux/drivers/acpi/include/acconfig.h
Previous file: linux/drivers/acpi/hardware/hwsleep.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.13/linux/drivers/acpi/hardware/hwtimer.c linux/drivers/acpi/hardware/hwtimer.c
@@ -2,7 +2,7 @@
 /******************************************************************************
  *
  * Name: hwtimer.c - ACPI Power Management Timer Interface
- *              $Revision: 12 $
+ *              $Revision: 14 $
  *
  *****************************************************************************/
 
@@ -47,19 +47,9 @@
 acpi_get_timer_resolution (
 	u32                     *resolution)
 {
-	acpi_status             status;
-
-
 	FUNCTION_TRACE ("Acpi_get_timer_resolution");
 
 
-	/* Ensure that ACPI has been initialized */
-
-	ACPI_IS_INITIALIZATION_COMPLETE (status);
-	if (ACPI_FAILURE (status)) {
-		return_ACPI_STATUS (status);
-	}
-
 	if (!resolution) {
 		return_ACPI_STATUS (AE_BAD_PARAMETER);
 	}
@@ -92,18 +82,8 @@
 acpi_get_timer (
 	u32                     *ticks)
 {
-	acpi_status             status;
-
-
 	FUNCTION_TRACE ("Acpi_get_timer");
 
-
-	/* Ensure that ACPI has been initialized */
-
-	ACPI_IS_INITIALIZATION_COMPLETE (status);
-	if (ACPI_FAILURE (status)) {
-		return_ACPI_STATUS (status);
-	}
 
 	if (!ticks) {
 		return_ACPI_STATUS (AE_BAD_PARAMETER);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)