aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio
diff options
context:
space:
mode:
authorAni Sinha <ani@anisinha.ca>2021-08-25 08:49:46 +0530
committerMichael S. Tsirkin <mst@redhat.com>2021-09-04 17:34:05 -0400
commit028f1a88ab1fff40aa134192da609943f7f67a5e (patch)
tree37540baaacf3c57b040882a6a96241aebddf0f31 /hw/virtio
parent6c1ebe75ae7a9f873c40b9582d7f14c6fe4129ea (diff)
downloadqemu-028f1a88ab1fff40aa134192da609943f7f67a5e.zip
qemu-028f1a88ab1fff40aa134192da609943f7f67a5e.tar.gz
qemu-028f1a88ab1fff40aa134192da609943f7f67a5e.tar.bz2
hw/acpi: use existing references to pci device struct within functions
There is no need to use fresh typecasts to get references to pci device structs when there is an existing reference to pci device struct. Use existing reference. Minor cleanup. Signed-off-by: Ani Sinha <ani@anisinha.ca> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20210825031949.919376-3-ani@anisinha.ca> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/virtio')
0 files changed, 0 insertions, 0 deletions