diff options
author | Mao Zhongyi <maozy.fnst@cn.fujitsu.com> | 2017-09-09 14:22:26 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2017-10-15 05:54:40 +0300 |
commit | 06592d7e28794dcd93dbd5186910ba8c987453ba (patch) | |
tree | 6cb64fcd498eea0147460600bd793c60b1704ab4 /hw/acpi/vmgenid.c | |
parent | 8b3d26342c4aa171e759e6392fe3b742759d4963 (diff) | |
download | qemu-06592d7e28794dcd93dbd5186910ba8c987453ba.zip qemu-06592d7e28794dcd93dbd5186910ba8c987453ba.tar.gz qemu-06592d7e28794dcd93dbd5186910ba8c987453ba.tar.bz2 |
pci: Set err to errp directly rather than through error_propagate()
ioh3420_interrupts_init() pass error message to local_err, then
propagate it to errp by error_propagate(), which is not necessary.
So eliminate it and pass errp directly instead of local_err.
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Marcel Apfelbaum <marcel@redhat.com>
Signed-off-by: Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/acpi/vmgenid.c')
0 files changed, 0 insertions, 0 deletions