]> git.proxmox.com Git - qemu.git/blobdiff - hw/ide/qdev.c
ide: Remove redundant IDEState member conf
[qemu.git] / hw / ide / qdev.c
index b18693d945818a6595a0edc17cc6052129b4d4d2..9ebb906cc3ddada76323fcab820d21c9f2c285ea 100644 (file)
@@ -99,8 +99,7 @@ typedef struct IDEDrive {
 static int ide_drive_initfn(IDEDevice *dev)
 {
     IDEBus *bus = DO_UPCAST(IDEBus, qbus, dev->qdev.parent_bus);
-    ide_init_drive(bus->ifs + dev->unit, dev->conf.dinfo, &dev->conf,
-                   dev->version);
+    ide_init_drive(bus->ifs + dev->unit, dev->conf.dinfo, dev->version);
     return 0;
 }