diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2016-03-01 18:37:10 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-03-12 15:00:29 +0300 |
commit | 9d88b93bea5937c0c5c5fc30089d4e6e3c9ca508 (patch) | |
tree | a56080a05b7d3b5b5c0b47b77863ce2f5d4d4b56 /tools/perf/scripts/python/stackcollapse.py | |
parent | d9c8bea179a6906a74ea42a2a162c4d1c6d9a16b (diff) | |
download | linux-9d88b93bea5937c0c5c5fc30089d4e6e3c9ca508.tar.xz |
PCI: Simplify sysfs ROM cleanup
The value of pdev->rom_attr is the definitive indicator of the fact that
we're created a sysfs attribute. Check that rather than rom_size, which is
only used incidentally when deciding whether to create a sysfs attribute.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions