acpi: fix aml_equal term implementation

The DefLEqual op does not have a target operand. Remove it.

Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
This commit is contained in:
Marcel Apfelbaum 2015-03-08 13:16:03 +02:00 committed by Michael S. Tsirkin
parent aea10cdef2
commit ecdc7bab09

View File

@ -546,7 +546,6 @@ Aml *aml_equal(Aml *arg1, Aml *arg2)
Aml *var = aml_opcode(0x93 /* LequalOp */); Aml *var = aml_opcode(0x93 /* LequalOp */);
aml_append(var, arg1); aml_append(var, arg1);
aml_append(var, arg2); aml_append(var, arg2);
build_append_byte(var->buf, 0x00); /* NullNameOp */
return var; return var;
} }