]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/virtio/virtio_pci.c
net/virtio: do not store PCI device pointer at shared memory
[dpdk.git] / drivers / net / virtio / virtio_pci.c
index 8d5355c75e22669d60c147978a46920b897e8ea5..34ca01b23f90194923f5df0936edc57e6916adaa 100644 (file)
@@ -731,8 +731,6 @@ int
 vtpci_init(struct rte_pci_device *dev, struct virtio_hw *hw,
           uint32_t *dev_flags)
 {
-       hw->dev = dev;
-
        /*
         * Try if we can succeed reading virtio pci caps, which exists
         * only on modern pci device. If failed, we fallback to legacy