summaryrefslogtreecommitdiffstats
path: root/hw/core/machine.c
diff options
context:
space:
mode:
authorStefano Garzarella2019-01-30 10:52:31 +0100
committerLaurent Vivier2019-01-30 14:20:18 +0100
commit95b3c9cfd5eaaa4a2a4afa1eaf09612a94ade1da (patch)
tree5351a9b2e5dea88c35ab6251028ca87fa364243d /hw/core/machine.c
parenthw/block: clean up stale xen_disk trace entries (diff)
downloadqemu-95b3c9cfd5eaaa4a2a4afa1eaf09612a94ade1da.tar.gz
qemu-95b3c9cfd5eaaa4a2a4afa1eaf09612a94ade1da.tar.xz
qemu-95b3c9cfd5eaaa4a2a4afa1eaf09612a94ade1da.zip
virtio-blk: remove duplicate definition of VirtIOBlock *s pointer
VirtIOBlock *s is already defined and initialized with req->dev on top of virtio_blk_handle_request(), so we can remove it from the code block of VIRTIO_BLK_T_GET_ID case. Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20190130095231.42081-1-sgarzare@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/core/machine.c')
0 files changed, 0 insertions, 0 deletions