aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBALATON Zoltan <balaton@eik.bme.hu>2019-01-25 14:52:11 -0500
committerJohn Snow <jsnow@redhat.com>2019-01-25 14:52:11 -0500
commite210ec87b93cf94212b5f522d514115dc3604975 (patch)
tree25b1db5a540fe01e1db78cd5d5880c96d2802abe /include
parent2ab2ef078504c9a4979bd5c457fdf5903292e0f7 (diff)
cmd646: Remove IDEBus from CMD646BAR
The cmd646 io mem ops callbacks only need the IDEBus which is currently passed via a CMD646BAR struct. No need to wrap it up like that, we can pass it directly to these callbacks which then allows to drop the IDEBus from the CMD646BAR. Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: John Snow <jsnow@redhat.com> Message-id: 7a31c155c9899869794499d841d30c7ef32aae47.1547166960.git.balaton@eik.bme.hu Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/ide/pci.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/ide/pci.h b/include/hw/ide/pci.h
index ed723acfb4..013d7937d2 100644
--- a/include/hw/ide/pci.h
+++ b/include/hw/ide/pci.h
@@ -40,7 +40,6 @@ typedef struct BMDMAState {
typedef struct CMD646BAR {
MemoryRegion cmd;
MemoryRegion data;
- IDEBus *bus;
} CMD646BAR;
#define TYPE_PCI_IDE "pci-ide"