patch-2.4.14 linux/drivers/acpi/resources/rsxface.c

Next file: linux/drivers/acpi/tables/tbconvrt.c
Previous file: linux/drivers/acpi/resources/rsutils.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.13/linux/drivers/acpi/resources/rsxface.c linux/drivers/acpi/resources/rsxface.c
@@ -1,7 +1,7 @@
 /*******************************************************************************
  *
  * Module Name: rsxface - Public interfaces to the resource manager
- *              $Revision: 14 $
+ *              $Revision: 15 $
  *
  ******************************************************************************/
 
@@ -67,13 +67,6 @@
 	FUNCTION_TRACE ("Acpi_get_irq_routing_table ");
 
 
-	/* Ensure that ACPI has been initialized */
-
-	ACPI_IS_INITIALIZATION_COMPLETE (status);
-	if (ACPI_FAILURE (status)) {
-		return_ACPI_STATUS (status);
-	}
-
 	/*
 	 * Must have a valid handle and buffer, So we have to have a handle
 	 * and a return buffer structure, and if there is a non-zero buffer length
@@ -126,13 +119,6 @@
 	FUNCTION_TRACE ("Acpi_get_current_resources");
 
 
-	/* Ensure that ACPI has been initialized */
-
-	ACPI_IS_INITIALIZATION_COMPLETE (status);
-	if (ACPI_FAILURE (status)) {
-		return_ACPI_STATUS (status);
-	}
-
 	/*
 	 * Must have a valid handle and buffer, So we have to have a handle
 	 * and a return buffer structure, and if there is a non-zero buffer length
@@ -182,13 +168,6 @@
 	FUNCTION_TRACE ("Acpi_get_possible_resources");
 
 
-	/* Ensure that ACPI has been initialized */
-
-	ACPI_IS_INITIALIZATION_COMPLETE (status);
-	if (ACPI_FAILURE (status)) {
-		return_ACPI_STATUS (status);
-	}
-
 	/*
 	 * Must have a valid handle and buffer, So we have to have a handle
 	 * and a return buffer structure, and if there is a non-zero buffer length
@@ -234,13 +213,6 @@
 
 	FUNCTION_TRACE ("Acpi_set_current_resources");
 
-
-	/* Ensure that ACPI has been initialized */
-
-	ACPI_IS_INITIALIZATION_COMPLETE (status);
-	if (ACPI_FAILURE (status)) {
-		return_ACPI_STATUS (status);
-	}
 
 	/*
 	 * Must have a valid handle and buffer

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