]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/net/ne2000.c
bootindex: move calling add_boot_device_patch to bootindex setter function
[mirror_qemu.git] / hw / net / ne2000.c
index 62b86afb381dd66acd617666a939234582a1f2d6..3ab2d036961cdd5e150e2c0888c371e1d53a961a 100644 (file)
@@ -738,8 +738,6 @@ static int pci_ne2000_init(PCIDevice *pci_dev)
                           object_get_typename(OBJECT(pci_dev)), pci_dev->qdev.id, s);
     qemu_format_nic_info_str(qemu_get_queue(s->nic), s->c.macaddr.a);
 
-    add_boot_device_path(s->c.bootindex, &pci_dev->qdev, "/ethernet-phy@0");
-
     return 0;
 }