diff mbox

[v5,for-2.3,01/28] acpi: fix aml_equal term implementation

Message ID 1426001534-7151-2-git-send-email-marcel@redhat.com
State New
Headers show

Commit Message

Marcel Apfelbaum March 10, 2015, 3:31 p.m. UTC
The DefLEqual op does not have a target operand. Remove it.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
---
 hw/acpi/aml-build.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

diff --git a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c
index e01b8c2..ace180b 100644
--- a/hw/acpi/aml-build.c
+++ b/hw/acpi/aml-build.c
@@ -546,7 +546,6 @@  Aml *aml_equal(Aml *arg1, Aml *arg2)
     Aml *var = aml_opcode(0x93 /* LequalOp */);
     aml_append(var, arg1);
     aml_append(var, arg2);
-    build_append_byte(var->buf, 0x00); /* NullNameOp */
     return var;
 }