From: Mark Cave-Ayland Date: Wed, 23 Oct 2024 08:58:20 +0000 (+0100) Subject: next-cube: remove cpu parameter from next_scsi_init() X-Git-Tag: v9.2.0-rc0~23^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f5b47c7aa215dfafd16c620124af2ed7c9114211;p=thirdparty%2Fqemu.git next-cube: remove cpu parameter from next_scsi_init() The parameter is not used. Signed-off-by: Mark Cave-Ayland Reviewed-by: Thomas Huth Message-ID: <20241023085852.1061031-5-mark.cave-ayland@ilande.co.uk> Signed-off-by: Thomas Huth --- diff --git a/hw/m68k/next-cube.c b/hw/m68k/next-cube.c index 7a503e0707b..08886d432c8 100644 --- a/hw/m68k/next-cube.c +++ b/hw/m68k/next-cube.c @@ -828,7 +828,7 @@ static void nextscsi_write(void *opaque, uint8_t *buf, int size) nextdma_write(opaque, buf, size, NEXTDMA_SCSI); } -static void next_scsi_init(DeviceState *pcdev, M68kCPU *cpu) +static void next_scsi_init(DeviceState *pcdev) { struct NeXTPC *next_pc = NEXT_PC(pcdev); DeviceState *dev; @@ -1050,7 +1050,7 @@ static void next_cube_init(MachineState *machine) /* TODO: */ /* Network */ /* SCSI */ - next_scsi_init(pcdev, cpu); + next_scsi_init(pcdev); /* DMA */ memory_region_init_io(&m->dmamem, NULL, &next_dma_ops, machine,