aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/virtio-pmem-pci.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2022-10-04 13:20:58 +0200
committerGerd Hoffmann <kraxel@redhat.com>2022-10-12 12:01:11 +0200
commitcbd56573f769f8ebefd6a1241169a101ca639f85 (patch)
tree345f0df869def3f5f20e397245b6582fd20438eb /hw/virtio/virtio-pmem-pci.c
parent58de96e2ebc4977e3d0a042946a70a3e4bdde4ba (diff)
pci-ids: drop PCI_DEVICE_ID_VIRTIO_PMEM
Not needed for a virtio 1.0 device. virtio_pci_device_plugged() overrides them anyway (so no functional change). Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: David Hildenbrand <david@redhat.com> Reviewed-by: Pankaj Gupta <pankaj.gupta@amd.com> Tested-by: Pankaj Gupta <pankaj.gupta@amd.com> Message-Id: <20221004112100.301935-4-kraxel@redhat.com>
Diffstat (limited to 'hw/virtio/virtio-pmem-pci.c')
-rw-r--r--hw/virtio/virtio-pmem-pci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/virtio/virtio-pmem-pci.c b/hw/virtio/virtio-pmem-pci.c
index 2b2a0b1eae..7d9f4ec189 100644
--- a/hw/virtio/virtio-pmem-pci.c
+++ b/hw/virtio/virtio-pmem-pci.c
@@ -90,8 +90,6 @@ static void virtio_pmem_pci_class_init(ObjectClass *klass, void *data)
k->realize = virtio_pmem_pci_realize;
set_bit(DEVICE_CATEGORY_MISC, dc->categories);
- pcidev_k->vendor_id = PCI_VENDOR_ID_REDHAT_QUMRANET;
- pcidev_k->device_id = PCI_DEVICE_ID_VIRTIO_PMEM;
pcidev_k->revision = VIRTIO_PCI_ABI_VERSION;
pcidev_k->class_id = PCI_CLASS_OTHERS;