From: Peter Maydell Date: Fri, 15 Jan 2021 20:12:04 +0000 (+0000) Subject: hw/m68k/next-cube: Remove unused fields from NeXTState X-Git-Tag: qemu-xen-4.16.0-rc4~388^2~2 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=00a43a6be264a12eaa6657aeeb617c96326bb53a;p=qemu-xen.git hw/m68k/next-cube: Remove unused fields from NeXTState 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 Message-Id: <20210115201206.17347-10-peter.maydell@linaro.org> Signed-off-by: Thomas Huth --- 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"