HV: remove pbdf from struct pci_vdev

pci_vdev contains a pointer to pdev, which stores pbdf, so there is no need
to store a separate pbdf in vdev.

Tracked-On: #2534
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
dongshen
2019-02-15 11:53:14 -08:00
committed by Eddie Dong
parent 4d11985366
commit 8bc0e128a9
2 changed files with 3 additions and 7 deletions

View File

@@ -91,9 +91,6 @@ struct pci_vdev {
/* The bus/device/function triple of the virtual PCI device. */
union pci_bdf vbdf;
/* The bus/device/function triple of the physical PCI device. */
union pci_bdf pbdf;
struct pci_pdev *pdev;
union pci_cfgdata cfgdata;