include/hw/scsi/scsi.h: Remove unused scsi_legacy_handle_cmdline() prototype
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 13 Oct 2022 13:05:00 +0000 (14:05 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Sat, 22 Oct 2022 21:21:16 +0000 (23:21 +0200)
In commit 1454509726719e0933c80 we removed the function
scsi_legacy_handle_cmdline() and all of its callers, but forgot to
delete the prototype from the header function.  Delete the prototype
too.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20221013130500.967432-1-peter.maydell@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
include/hw/scsi/scsi.h

index 3b1b3d278ee8fdb172c681c954d2c3b78972b577..6ea4b64fe79676ed0fc51215b9c1a581b2d5085d 100644 (file)
@@ -188,7 +188,6 @@ SCSIDevice *scsi_bus_legacy_add_drive(SCSIBus *bus, BlockBackend *blk,
                                       const char *serial, Error **errp);
 void scsi_bus_set_ua(SCSIBus *bus, SCSISense sense);
 void scsi_bus_legacy_handle_cmdline(SCSIBus *bus);
-void scsi_legacy_handle_cmdline(void);
 
 SCSIRequest *scsi_req_alloc(const SCSIReqOps *reqops, SCSIDevice *d,
                             uint32_t tag, uint32_t lun, void *hba_private);