]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_cryptodev/rte_cryptodev.c
cryptodev: set PCI info only when device is PCI
[dpdk.git] / lib / librte_cryptodev / rte_cryptodev.c
index 46b9adc9cb73763969a435b5d73bd1e387787a5a..8e5382db809e448376a7541e309569ad18a4922d 100644 (file)
@@ -1139,7 +1139,6 @@ rte_cryptodev_info_get(uint8_t dev_id, struct rte_cryptodev_info *dev_info)
        RTE_FUNC_PTR_OR_RET(*dev->dev_ops->dev_infos_get);
        (*dev->dev_ops->dev_infos_get)(dev, dev_info);
 
-       dev_info->pci_dev = RTE_DEV_TO_PCI(dev->device);
        dev_info->driver_name = dev->device->driver->name;
 }