diff options
author | 2019-01-28 13:57:28 +0200 | |
---|---|---|
committer | 2019-01-29 16:32:17 -0600 | |
commit | 807ffb1e1eabbcdcd46494ee415317aa80ed415c (patch) | |
tree | cbfaaac0ff9e4d92fdddfaf5d7a431db263e8b22 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.0-rc1 (diff) | |
download | linux-rng-807ffb1e1eabbcdcd46494ee415317aa80ed415c.tar.xz linux-rng-807ffb1e1eabbcdcd46494ee415317aa80ed415c.zip |
PCI/AER: Use match_string() helper to simplify the code
match_string() returns the array index of a matching string. Use it
instead of the open-coded implementation.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions