aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/virtio-pmem-pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/virtio/virtio-pmem-pci.c')
-rw-r--r--hw/virtio/virtio-pmem-pci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/virtio/virtio-pmem-pci.c b/hw/virtio/virtio-pmem-pci.c
index 7d9f4ec..1b89ade 100644
--- a/hw/virtio/virtio-pmem-pci.c
+++ b/hw/virtio/virtio-pmem-pci.c
@@ -70,7 +70,6 @@ static void virtio_pmem_pci_fill_device_info(const MemoryDeviceState *md,
DeviceState *dev = DEVICE(md);
if (dev->id) {
- vi->has_id = true;
vi->id = g_strdup(dev->id);
}