diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2015-04-10 17:54:53 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2015-04-10 17:54:53 +0000 |
commit | 2a91972d59fb9df39eae760a853d6f5bc4065cf0 (patch) | |
tree | 88225ab78a8f3215e633fb61723813a27e475a89 /source/components/disassembler/dmcstyle.c | |
parent | d29c30140bd8ea81e0530ad3975c977891ab9275 (diff) |
Notes
Diffstat (limited to 'source/components/disassembler/dmcstyle.c')
-rw-r--r-- | source/components/disassembler/dmcstyle.c | 30 |
1 files changed, 0 insertions, 30 deletions
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) |