scsi: drop 'result' argument from command_complete callback
commit17ea26c2d80a695b4d3af9ae2eaa438095029773
authorHannes Reinecke <hare@suse.de>
Mon, 16 Nov 2020 18:40:36 +0000 (16 19:40 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 25 Feb 2021 13:14:32 +0000 (25 14:14 +0100)
treee771a7d7468347641ae40eb0262deaeebc950fdb
parent782a78c9e994c2be23467262f50e885a0eb0d9fc
scsi: drop 'result' argument from command_complete callback

The command complete callback has a SCSIRequest as the first argument,
and the status field of that structure is identical to the 'status'
argument. So drop the argument from the callback.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Message-Id: <20201116184041.60465-3-hare@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
13 files changed:
hw/scsi/esp-pci.c
hw/scsi/esp.c
hw/scsi/lsi53c895a.c
hw/scsi/megasas.c
hw/scsi/mptsas.c
hw/scsi/scsi-bus.c
hw/scsi/spapr_vscsi.c
hw/scsi/virtio-scsi.c
hw/scsi/vmw_pvscsi.c
hw/usb/dev-storage.c
hw/usb/dev-uas.c
include/hw/scsi/esp.h
include/hw/scsi/scsi.h