summaryrefslogtreecommitdiffstats
path: root/scripts/qapi/main.py
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-09-02 09:00:23 +0200
committerStefan Hajnoczi2021-09-07 10:08:24 +0200
commit5a4f1626e307024765f7e5b45f5884e34a27d968 (patch)
tree0c2adefec9e23d4c1e47a3ccd58fcc50179111f8 /scripts/qapi/main.py
parentutil/vfio-helpers: Use error_setg in qemu_vfio_find_[fixed/temp]_iova (diff)
downloadqemu-5a4f1626e307024765f7e5b45f5884e34a27d968.tar.gz
qemu-5a4f1626e307024765f7e5b45f5884e34a27d968.tar.xz
qemu-5a4f1626e307024765f7e5b45f5884e34a27d968.zip
util/vfio-helpers: Simplify qemu_vfio_dma_map() returning directly
To simplify qemu_vfio_dma_map(): - reduce 'ret' (returned value) scope by returning errno directly, - remove the goto 'out' label. Reviewed-by: Klaus Jensen <k.jensen@samsung.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20210902070025.197072-10-philmd@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/qapi/main.py')
0 files changed, 0 insertions, 0 deletions