diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2019-02-08 15:23:47 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2019-02-12 11:49:17 +0800 |
commit | 9a6719d572e99a4e79f589d0b73f7475b86f982d (patch) | |
tree | 0180499b6479ffb2fe16e18480bdf8cd77f914c9 /block/snapshot.c | |
parent | 6eaa20c8362cf8e12e023e2e05861f84cec6a438 (diff) |
virtio-blk: cleanup using VirtIOBlock *s and VirtIODevice *vdev
In several part we still using req->dev or VIRTIO_DEVICE(req->dev)
when we have already defined s and vdev pointers:
VirtIOBlock *s = req->dev;
VirtIODevice *vdev = VIRTIO_DEVICE(s);
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Liam Merwick <liam.merwick@oracle.com>
Message-id: 20190208142347.214815-1-sgarzare@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/snapshot.c')
0 files changed, 0 insertions, 0 deletions