OSDN Git Service

virtio-scsi: clean up virtio_scsi_handle_cmd_vq()
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 27 Apr 2022 14:35:40 +0000 (15:35 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 9 May 2022 09:45:04 +0000 (10:45 +0100)
commitad482b57ef841b2d4883c5079d20ba44ff5e4b3e
tree60d17dee62a12a09941e63922ba8e17562d26ac0
parent73b3b49f1880f236b4d0ffd7efb00280c05a5fab
virtio-scsi: clean up virtio_scsi_handle_cmd_vq()

virtio_scsi_handle_cmd_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-6-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/scsi/virtio-scsi.c
include/hw/virtio/virtio-scsi.h