[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 10/14] next-cube: remove cpu parameter from next_scsi_init()
From: |
Thomas Huth |
Subject: |
[PULL 10/14] next-cube: remove cpu parameter from next_scsi_init() |
Date: |
Thu, 31 Oct 2024 18:48:28 +0100 |
From: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
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>
---
hw/m68k/next-cube.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/m68k/next-cube.c b/hw/m68k/next-cube.c
index 7a503e0707..08886d432c 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,
--
2.47.0
- [PULL 00/14] Misc patches (functional tests, next-cube machine, ...), Thomas Huth, 2024/10/31
- [PULL 03/14] tests/functional: make cached asset files read-only, Thomas Huth, 2024/10/31
- [PULL 01/14] .gitlab-ci.d/cirrus: Remove the macos-15 job, Thomas Huth, 2024/10/31
- [PULL 05/14] tests/functional: Add a test for sh4eb, Thomas Huth, 2024/10/31
- [PULL 02/14] tests/functional: make tuxrun disk images writable, Thomas Huth, 2024/10/31
- [PULL 06/14] tests/vm/openbsd: Remove the "Time appears wrong" workaround, Thomas Huth, 2024/10/31
- [PULL 04/14] Revert "Remove the unused sh4eb target", Thomas Huth, 2024/10/31
- [PULL 07/14] tests/functional: Fix the s390x and ppc64 tuxrun tests, Thomas Huth, 2024/10/31
- [PULL 08/14] hw/s390x: Re-enable the pci-bridge device on s390x, Thomas Huth, 2024/10/31
- [PULL 10/14] next-cube: remove cpu parameter from next_scsi_init(),
Thomas Huth <=
- [PULL 11/14] tests/functional: Convert the tcg_plugins test, Thomas Huth, 2024/10/31
- [PULL 12/14] tests/functional: Convert BananaPi tests to the functional framework, Thomas Huth, 2024/10/31
- [PULL 09/14] next-cube: fix up compilation when DEBUG_NEXT is enabled, Thomas Huth, 2024/10/31
- [PULL 14/14] tests/functional: Convert the riscv_opensbi avocado test into a standalone test, Thomas Huth, 2024/10/31
- [PULL 13/14] tests/functional: Convert the OrangePi tests to the functional framework, Thomas Huth, 2024/10/31