hw/loongarch: remove acpi-build.c unused variable 'aml_len'
commit4cbadc40b99801488bf8d5153d56ae751af15ab9
authorSong Gao <gaosong@loongson.cn>
Thu, 21 Jul 2022 04:00:46 +0000 (21 12:00 +0800)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 5 Aug 2022 17:02:07 +0000 (5 10:02 -0700)
treece8eb0933790f577cd3c3814b206f95051121908
parent00952d93e0ad3aaba3886803c812549626ac214a
hw/loongarch: remove acpi-build.c unused variable 'aml_len'

Fix a compiler warning on openbsd:
../src/hw/loongarch/acpi-build.c:416:12: warning: variable 'aml_len'
set but not used [-Wunused-but-set-variable]
    size_t aml_len = 0;
           ^

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220721040046.3985609-1-gaosong@loongson.cn>
[rth: Removing aml_len in turn makes fadt set but not used.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
hw/loongarch/acpi-build.c