summaryrefslogtreecommitdiffstats
path: root/hw/net
diff options
context:
space:
mode:
authorEduardo Habkost2020-12-11 23:05:28 +0100
committerEduardo Habkost2020-12-18 21:20:18 +0100
commitf405e3cdffe9d370867aeeef899863d619c32e26 (patch)
treed4c842ef2096b915a167264a22212637d968b4f5 /hw/net
parentqdev: Rename qdev_get_prop_ptr() to object_field_prop_ptr() (diff)
downloadqemu-f405e3cdffe9d370867aeeef899863d619c32e26.tar.gz
qemu-f405e3cdffe9d370867aeeef899863d619c32e26.tar.xz
qemu-f405e3cdffe9d370867aeeef899863d619c32e26.zip
qdev: Avoid unnecessary DeviceState* variable at set_prop_arraylen()
We're just doing pointer math with the device pointer, we can simply use obj instead. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20201211220529.2290218-32-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/net')
0 files changed, 0 insertions, 0 deletions