diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2021-05-13 22:56:09 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-08-09 13:43:43 -0500 |
commit | 1285762c07121b449cd60166b813c0084b792736 (patch) | |
tree | e3a5d14325558e918cc11232324993513f981f1b /tools/perf/scripts/python/syscall-counts.py | |
parent | 5fe204eab174fd474227f23fd47faee4e7a6c000 (diff) |
PCI/VPD: Remove pci_vpd_size() old_size argument
vpd->len is initialized to PCI_VPD_MAX_SIZE, and if a quirk is used to set
a specific VPD size, then pci_vpd_set_size() sets vpd->valid, resulting in
pci_vpd_size() not being called. Therefore we can remove the old_size
argument. Note that we don't have to check off < PCI_VPD_MAX_SIZE because
that's implicitly done by pci_read_vpd().
Link: https://lore.kernel.org/r/ede36c16-5335-6867-43a1-293641348430@gmail.com
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions