libxl: fix coding style issues in init_acpi_config
authorWei Liu <wei.liu2@citrix.com>
Fri, 16 Dec 2016 17:40:09 +0000 (17:40 +0000)
committerWei Liu <wei.liu2@citrix.com>
Wed, 21 Dec 2016 16:32:13 +0000 (16:32 +0000)
commit546c21afe1c84266d22055d16c9122899f9f6a21
treeff854b4148f8d05412abc993ca052ce0a6fcab8a
parentf0adead04c526405d09d1a95fb341f2e96975371
libxl: fix coding style issues in init_acpi_config

1. Use "r" to store return values from xc calls.
2. Don't initialise "rc" at the beginning of the function.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_x86_acpi.c