summary refs log tree commit diff stats
path: root/rust/qemu-api/src/assertions.rs
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2025-03-20 11:21:56 +0800
committerMarkus Armbruster <armbru@redhat.com>2025-03-20 07:58:19 +0100
commit0973b505fadedd208e4c3fa1698ffa0b2293006c (patch)
tree2856515b1c06e7113919cd6e449e5725b8203acd /rust/qemu-api/src/assertions.rs
parentd7ffc17de706e6d0178fcdbc3a7d302f5a246c3c (diff)
downloadfocaccia-qemu-0973b505fadedd208e4c3fa1698ffa0b2293006c.tar.gz
focaccia-qemu-0973b505fadedd208e4c3fa1698ffa0b2293006c.zip
hw/loongarch/virt: Eliminate error_propagate()
When there is an error, it is put into a local variable and then
propagated to somewhere else. Instead the error can be set right
away, error propagation can be removed.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Message-ID: <20250320032158.1762751-5-maobibo@loongson.cn>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'rust/qemu-api/src/assertions.rs')
0 files changed, 0 insertions, 0 deletions