From 2a91972d59fb9df39eae760a853d6f5bc4065cf0 Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Fri, 10 Apr 2015 17:54:53 +0000 Subject: Import ACPICA 20150410. --- source/components/disassembler/dmcstyle.c | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'source/components') diff --git a/source/components/disassembler/dmcstyle.c b/source/components/disassembler/dmcstyle.c index 71aef9b0e9fb..1f1381969f57 100644 --- a/source/components/disassembler/dmcstyle.c +++ b/source/components/disassembler/dmcstyle.c @@ -114,20 +114,12 @@ AcpiDmCheckForSymbolicOpcode ( Child1 = AcpiPsGetArg (Op, 0); if (!Child1) { - /* Parse tree may be confused or corrupted */ - return (FALSE); } /* Get the second operand */ Child2 = Child1->Common.Next; - if (!Child2) - { - /* Parse tree may be confused or corrupted */ - - return (FALSE); - } /* Setup the operator string for this opcode */ @@ -307,16 +299,8 @@ AcpiDmCheckForSymbolicOpcode ( /* Target is 3rd operand */ Target = Child2->Common.Next; - if (Op->Common.AmlOpcode == AML_DIVIDE_OP) { - if (!Target) - { - /* Parse tree may be confused or corrupted */ - - return (FALSE); - } - /* * Divide has an extra target operand (Remainder). * If this extra target is specified, it cannot be converted @@ -419,13 +403,6 @@ AcpiDmCheckForSymbolicOpcode ( /* Target is optional, 3rd operand */ Target = Child2->Common.Next; - if (!Target) - { - /* Parse tree may be confused or corrupted */ - - return (FALSE); - } - if (AcpiDmIsValidTarget (Target)) { AcpiDmPromoteTarget (Op, Target); @@ -446,13 +423,6 @@ AcpiDmCheckForSymbolicOpcode ( * source so that the target is processed first. */ Target = Child1->Common.Next; - if (!Target) - { - /* Parse tree may be confused or corrupted */ - - return (FALSE); - } - AcpiDmPromoteTarget (Op, Target); if (!Target->Common.OperatorSymbol) -- cgit v1.3