diff options
author | Philippe Mathieu-Daudé | 2017-12-17 21:49:12 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2018-03-20 02:34:52 +0100 |
commit | 1d0cad532ca1a5c65196e3fcd3904ef29b253b1c (patch) | |
tree | 49bee0450baba8e65bd285a0eb139f996e7ba6a6 /include | |
parent | standard-headers: update virtio_net.h (diff) | |
download | qemu-1d0cad532ca1a5c65196e3fcd3904ef29b253b1c.tar.gz qemu-1d0cad532ca1a5c65196e3fcd3904ef29b253b1c.tar.xz qemu-1d0cad532ca1a5c65196e3fcd3904ef29b253b1c.zip |
hw/pci: remove obsolete PCIDevice->init()
All PCI devices are now QOM'ified.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/pci/pci.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/pci/pci.h b/include/hw/pci/pci.h index d8c18c7fa4..e28f3fa33e 100644 --- a/include/hw/pci/pci.h +++ b/include/hw/pci/pci.h @@ -217,7 +217,6 @@ typedef struct PCIDeviceClass { DeviceClass parent_class; void (*realize)(PCIDevice *dev, Error **errp); - int (*init)(PCIDevice *dev);/* TODO convert to realize() and remove */ PCIUnregisterFunc *exit; PCIConfigReadFunc *config_read; PCIConfigWriteFunc *config_write; |