diff options
author | Chen Qun <kuhn.chenqun@huawei.com> | 2020-08-27 19:03:02 +0800 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2020-09-01 11:52:25 +0200 |
commit | b3b0e8145892520d0ae315950379b947a9c7afa6 (patch) | |
tree | 78a64f3ef8d404e2610e3ee6bfa65f9d403f64ea /hw/scsi | |
parent | 38be863d418a507bd2b27f20c4585c50eace8b98 (diff) |
hw/arm/virt-acpi-build:Remove dead assignment in build_madt()
Clang static code analyzer show warning:
hw/arm/virt-acpi-build.c:641:5: warning: Value stored to 'madt' is never read
madt = acpi_data_push(table_data, sizeof *madt);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20200827110311.164316-2-kuhn.chenqun@huawei.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/scsi')
0 files changed, 0 insertions, 0 deletions