[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 09/11] hw/m68k/next-cube: Remove unused fields from NeXTState
From: |
Thomas Huth |
Subject: |
[PULL 09/11] hw/m68k/next-cube: Remove unused fields from NeXTState |
Date: |
Tue, 19 Jan 2021 09:36:15 +0100 |
From: Peter Maydell <peter.maydell@linaro.org>
The fields scsi_irq, scsi_dma, scsi_reset and fd_irq in
NeXTState are all unused, except in commented out
"this should do something like this" code. Remove the
unused fields. As and when the functionality that might
use them is added, we can put in the correct kind of
wiring (which might or might not need to be a qemu_irq,
but which in any case will need to be in the NeXTPC
device, not in NeXTState).
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20210115201206.17347-10-peter.maydell@linaro.org>
Signed-off-by: Thomas Huth <huth@tuxfamily.org>
---
hw/m68k/next-cube.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/hw/m68k/next-cube.c b/hw/m68k/next-cube.c
index 57f9e9f837..1f6a2d58a1 100644
--- a/hw/m68k/next-cube.c
+++ b/hw/m68k/next-cube.c
@@ -74,10 +74,6 @@ struct NeXTState {
MachineState parent;
next_dma dma[10];
- qemu_irq *scsi_irq;
- qemu_irq scsi_dma;
- qemu_irq scsi_reset;
- qemu_irq *fd_irq;
};
#define TYPE_NEXT_PC "next-pc"
--
2.29.2
- [PULL 01/11] hw/m68k/next-cube: Make next_irq() function static, (continued)
- [PULL 01/11] hw/m68k/next-cube: Make next_irq() function static, Thomas Huth, 2021/01/19
- [PULL 02/11] hw/m68k/next-cube: Move register/interrupt functionality into a device, Thomas Huth, 2021/01/19
- [PULL 03/11] hw/m68k/next-cube: Move mmio_ops into NeXTPC device, Thomas Huth, 2021/01/19
- [PULL 05/11] hw/m68k/next-cube: Make next_irq take NeXTPC* as its opaque, Thomas Huth, 2021/01/19
- [PULL 10/11] hw/m68k/next-cube: Add vmstate for NeXTPC device, Thomas Huth, 2021/01/19
- [PULL 04/11] hw/m68k/next-cube: Move scr_ops into NeXTPC device, Thomas Huth, 2021/01/19
- [PULL 11/11] hw/m68k/next-cube: Add missing header comment to next-cube.h, Thomas Huth, 2021/01/19
- [PULL 06/11] hw/m68k/next-cube: Move int_status and int_mask to NeXTPC struct, Thomas Huth, 2021/01/19
- [PULL 07/11] hw/m68k/next-cube: Make next_irq GPIO inputs to NEXT_PC device, Thomas Huth, 2021/01/19
- [PULL 08/11] hw/m68k/next-cube: Move rtc into NeXTPC struct, Thomas Huth, 2021/01/19
- [PULL 09/11] hw/m68k/next-cube: Remove unused fields from NeXTState,
Thomas Huth <=
- Re: [PULL 00/11] m68k next-cube patches, Peter Maydell, 2021/01/19