+0
−2
Loading
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>