summaryrefslogtreecommitdiff
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2021-02-03 11:48:03 +0300
committerBjorn Helgaas <bhelgaas@google.com>2021-03-31 00:50:42 +0300
commit26c0cf2a603d4ebf00d8c1baf714763fca31dba4 (patch)
treef2d916e1170f9f92e2774c66a7d02d56151cda4f /include/linux/pci.h
parenta7bf66ff3d945db9dd2079265ce9cc5c374cecc3 (diff)
downloadlinux-26c0cf2a603d4ebf00d8c1baf714763fca31dba4.tar.xz
PCI/VPD: Remove sysfs accessor size checking dead code
Since 104daa71b396 ("PCI: Determine actual VPD size on first access") attribute size is set to 0 (unlimited). Remove the dead code that checks for "bin_attr->size > 0". Link: https://lore.kernel.org/r/267eae86-f8a6-6792-a7f8-2c4fd51beedc@gmail.com Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Krzysztof WilczyƄski <kw@linux.com>
Diffstat (limited to 'include/linux/pci.h')
0 files changed, 0 insertions, 0 deletions