diff options
author | Reza Arbab <arbab@linux.ibm.com> | 2019-01-09 09:58:48 -0600 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-01-16 00:46:49 -0600 |
commit | b496cab97086d8adb56aee8099bb785f43fbf187 (patch) | |
tree | d13d169a48ea760547017436f09526dd341e076d /hw | |
parent | 237882bfc84f092f34c46a199ca32f323f896b9f (diff) | |
download | skiboot-b496cab97086d8adb56aee8099bb785f43fbf187.zip skiboot-b496cab97086d8adb56aee8099bb785f43fbf187.tar.gz skiboot-b496cab97086d8adb56aee8099bb785f43fbf187.tar.bz2 |
npu2: Remove unused npu2_dev_nvlink::vendor_cap
This variable is never used. Remove it.
Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/npu2.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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); |