diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2021-02-03 11:48:03 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-03-31 00:50:42 +0300 |
commit | 26c0cf2a603d4ebf00d8c1baf714763fca31dba4 (patch) | |
tree | f2d916e1170f9f92e2774c66a7d02d56151cda4f /include/linux/pci.h | |
parent | a7bf66ff3d945db9dd2079265ce9cc5c374cecc3 (diff) | |
download | linux-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