summaryrefslogtreecommitdiffstats
path: root/hw/npu2.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/npu2.c')
-rw-r--r--hw/npu2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/npu2.c b/hw/npu2.c
index 8d5b2f3d..b826abdc 100644
--- a/hw/npu2.c
+++ b/hw/npu2.c
@@ -1653,7 +1653,6 @@ static uint32_t npu2_populate_vendor_cap(struct npu2_dev *dev,
/* Capbility list */
PCI_VIRT_CFG_INIT_RO(pvd, prev_cap, 1, start);
PCI_VIRT_CFG_INIT_RO(pvd, start, 1, PCI_CFG_CAP_ID_VENDOR);
- dev->nvlink.vendor_cap = start;
/* Length and version */
PCI_VIRT_CFG_INIT_RO(pvd, start + 2, 1, VENDOR_CAP_LEN);
OpenPOWER on IntegriCloud