aboutsummaryrefslogtreecommitdiff
path: root/rust/hw
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-12-13 17:54:33 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2025-03-06 12:44:47 +0100
commit094cd35913bd66228a9a3239e66b1f6f5d667d4b (patch)
tree9ebe0fa26f9f6173b02726237d2194490945e3e0 /rust/hw
parent5778ce99971f7e09952a1efbac91d0c97d7a0fee (diff)
downloadqemu-094cd35913bd66228a9a3239e66b1f6f5d667d4b.zip
qemu-094cd35913bd66228a9a3239e66b1f6f5d667d4b.tar.gz
qemu-094cd35913bd66228a9a3239e66b1f6f5d667d4b.tar.bz2
rust: qom: remove operations on &mut
The dubious casts of mutable references to objects are not used anymore: the wrappers for qdev_init_clock_in and for IRQ and MMIO initialization can be called directly on the subclasses, without casts, plus they take a shared reference so they can just use "upcast()" instead of "upcast_mut()". Remove them. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/hw')
0 files changed, 0 insertions, 0 deletions