aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/npu2.c1
-rw-r--r--include/npu2.h3
2 files changed, 0 insertions, 4 deletions
diff --git a/hw/npu2.c b/hw/npu2.c
index 8d5b2f3..b826abd 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);
diff --git a/include/npu2.h b/include/npu2.h
index 8906723..f51a6a2 100644
--- a/include/npu2.h
+++ b/include/npu2.h
@@ -111,9 +111,6 @@ struct npu2_dev_nvlink {
uint8_t link_flags;
- /* Vendor specific capability */
- uint32_t vendor_cap;
-
/* Used to associate the NPU device with GPU PCI devices */
const char *slot_label;
};