diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2024-10-23 09:58:20 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2024-11-04 14:16:11 +0100 |
commit | f5b47c7aa215dfafd16c620124af2ed7c9114211 (patch) | |
tree | 493b7aaaa67b13c2ccc99a560a211cb5279506ac | |
parent | 39734497a32005716ef11bbd0b2fc6db9ff0b988 (diff) | |
download | qemu-f5b47c7aa215dfafd16c620124af2ed7c9114211.zip qemu-f5b47c7aa215dfafd16c620124af2ed7c9114211.tar.gz qemu-f5b47c7aa215dfafd16c620124af2ed7c9114211.tar.bz2 |
next-cube: remove cpu parameter from next_scsi_init()
The parameter is not used.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Message-ID: <20241023085852.1061031-5-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Thomas Huth <thuth@redhat.com>
-rw-r--r-- | hw/m68k/next-cube.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/m68k/next-cube.c b/hw/m68k/next-cube.c index 7a503e0..08886d4 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, |