acpi: simplify _OSC
commitb3c782db2004eaba2da24ba0880b55852c1d8e0b
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 28 Feb 2017 14:13:28 +0000 (28 16:13 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 2 Mar 2017 05:29:10 +0000 (2 07:29 +0200)
tree9d6e097de04db45efd1494d2aaf6b5644ff945a9
parent96a8821d21411f10d77ea994af369c6e5c35a2cc
acpi: simplify _OSC

Our _OSC method has a bunch of unused code loading data
into external CTRL and SUPP fields which are then never
used. Drop this in favor of a single local variable.

Signed-off-by: Michael S. Tsirkin <mst@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>
hw/i386/acpi-build.c