summaryrefslogtreecommitdiffstats
path: root/include/hw/virtio/virtio-scsi.h
diff options
context:
space:
mode:
authorStefan Hajnoczi2022-04-27 16:35:38 +0200
committerStefan Hajnoczi2022-05-09 11:45:04 +0200
commit37ce2de95169dacab3fb53d11bd4509b9c2e3a4c (patch)
treefd87531c41f3bac38660248948594903cfa242dd /include/hw/virtio/virtio-scsi.h
parentvirtio-scsi: don't waste CPU polling the event virtqueue (diff)
downloadqemu-37ce2de95169dacab3fb53d11bd4509b9c2e3a4c.tar.gz
qemu-37ce2de95169dacab3fb53d11bd4509b9c2e3a4c.tar.xz
qemu-37ce2de95169dacab3fb53d11bd4509b9c2e3a4c.zip
virtio-scsi: clean up virtio_scsi_handle_event_vq()
virtio_scsi_handle_event_vq() is only called from hw/scsi/virtio-scsi.c now and its return value is no longer used. Remove the function prototype from virtio-scsi.h and drop the return value. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 20220427143541.119567-4-stefanha@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/hw/virtio/virtio-scsi.h')
-rw-r--r--include/hw/virtio/virtio-scsi.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/virtio/virtio-scsi.h b/include/hw/virtio/virtio-scsi.h
index 0997313f0a..85e69d0368 100644
--- a/include/hw/virtio/virtio-scsi.h
+++ b/include/hw/virtio/virtio-scsi.h
@@ -149,7 +149,6 @@ void virtio_scsi_common_realize(DeviceState *dev,
Error **errp);
void virtio_scsi_common_unrealize(DeviceState *dev);
-bool virtio_scsi_handle_event_vq(VirtIOSCSI *s, VirtQueue *vq);
bool virtio_scsi_handle_cmd_vq(VirtIOSCSI *s, VirtQueue *vq);
bool virtio_scsi_handle_ctrl_vq(VirtIOSCSI *s, VirtQueue *vq);
void virtio_scsi_init_req(VirtIOSCSI *s, VirtQueue *vq, VirtIOSCSIReq *req);