diff options
author | Stefan Hajnoczi | 2022-04-27 16:35:38 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2022-05-09 11:45:04 +0200 |
commit | 37ce2de95169dacab3fb53d11bd4509b9c2e3a4c (patch) | |
tree | fd87531c41f3bac38660248948594903cfa242dd /include/hw | |
parent | virtio-scsi: don't waste CPU polling the event virtqueue (diff) | |
download | qemu-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')
-rw-r--r-- | include/hw/virtio/virtio-scsi.h | 1 |
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); |