PCI/VPD: Remove obsolete Broadcom NIC quirk
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 17 Dec 2020 20:59:03 +0000 (21:59 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 30 Mar 2021 20:52:17 +0000 (15:52 -0500)
commita7bf66ff3d945db9dd2079265ce9cc5c374cecc3
treead090aa5daa14167c8910c790b47dc8340b83071
parenta38fd8748464831584a19438cbb3082b5a2dab15
PCI/VPD: Remove obsolete Broadcom NIC quirk

quirk_brcm_570x_limit_vpd() was added in 2008 [0] when we didn't have the
logic to determine VPD size based on checking for the VPD end tag.  Now
that we do have this logic [1] and don't read beyond the end tag, this
quirk can be removed.

[0] 99cb233d60cb ("PCI: Limit VPD read/write lengths for Broadcom 5706, 5708, 5709 rev.")
[1] 104daa71b396 ("PCI: Determine actual VPD size on first access")
Link: https://lore.kernel.org/r/daa6acdf-5027-62c8-e3fb-125411b018f5@gmail.com
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/vpd.c