From d1570baa5790d3c529a60120539193a58cd31229 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Wed, 7 Oct 2009 16:56:29 +0200 Subject: ide: BMDMAState don't need a pci_dev field anymore Patchworks-ID: 35306 Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- hw/ide/piix.c | 1 - 1 file changed, 1 deletion(-) (limited to 'hw/ide/piix.c') diff --git a/hw/ide/piix.c b/hw/ide/piix.c index 4583c42ec8..ddce6847df 100644 --- a/hw/ide/piix.c +++ b/hw/ide/piix.c @@ -77,7 +77,6 @@ static void bmdma_map(PCIDevice *pci_dev, int region_num, for(i = 0;i < 2; i++) { BMDMAState *bm = &d->bmdma[i]; d->bus[i].bmdma = bm; - bm->pci_dev = DO_UPCAST(PCIIDEState, dev, pci_dev); bm->bus = d->bus+i; qemu_add_vm_change_state_handler(ide_dma_restart_cb, bm); -- cgit v1.2.3