patch-2.4.14 linux/drivers/acpi/parser/psargs.c

Next file: linux/drivers/acpi/parser/psopcode.c
Previous file: linux/drivers/acpi/ospm/thermal/tzpolicy.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.13/linux/drivers/acpi/parser/psargs.c linux/drivers/acpi/parser/psargs.c
@@ -1,7 +1,7 @@
 /******************************************************************************
  *
  * Module Name: psargs - Parse AML opcode arguments
- *              $Revision: 51 $
+ *              $Revision: 52 $
  *
  *****************************************************************************/
 
@@ -391,11 +391,11 @@
 					name_op->node = method_node;
 					acpi_ps_append_arg (arg, name_op);
 
-					if (!(acpi_operand_object  *) method_node->object) {
+					if (!method_node->object) {
 						return_VOID;
 					}
 
-					*arg_count = ((acpi_operand_object *) method_node->object)->method.param_count;
+					*arg_count = (method_node->object)->method.param_count;
 				}
 
 				return_VOID;

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