aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2021-05-13 22:56:09 +0200
committerBjorn Helgaas <[email protected]>2021-08-09 13:43:43 -0500
commit1285762c07121b449cd60166b813c0084b792736 (patch)
treee3a5d14325558e918cc11232324993513f981f1b /scripts/gdb/linux/proc.py
parent5fe204eab174fd474227f23fd47faee4e7a6c000 (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/[email protected] Signed-off-by: Heiner Kallweit <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions