diff options
| author | Mao Zhongyi | 2017-09-09 08:22:26 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2017-10-15 04:54:40 +0200 |
| commit | 06592d7e28794dcd93dbd5186910ba8c987453ba (patch) | |
| tree | 6cb64fcd498eea0147460600bd793c60b1704ab4 /include | |
| parent | xio3130_downstream: Report error if pcie_chassis_add_slot() failed (diff) | |
| download | qemu-06592d7e28794dcd93dbd5186910ba8c987453ba.tar.gz qemu-06592d7e28794dcd93dbd5186910ba8c987453ba.tar.xz qemu-06592d7e28794dcd93dbd5186910ba8c987453ba.zip | |
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 'include')
0 files changed, 0 insertions, 0 deletions
