diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2021-08-22 16:54:23 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-22 23:45:40 +0300 |
commit | da417885a99d36036cc7d2778f94b846e6582434 (patch) | |
tree | 616279f4dcd1c2309725f9fa781cc7a92b14fea3 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | bed3db3d734e8e55815d865913ef75d9f707db96 (diff) | |
download | linux-da417885a99d36036cc7d2778f94b846e6582434.tar.xz |
bnx2x: Search VPD with pci_vpd_find_ro_info_keyword()
Use pci_vpd_find_ro_info_keyword() to search for keywords in VPD to
simplify the code.
str_id_reg and str_id_cap hold the same string and are used in the same
comparison. This doesn't make sense, use one string str_id instead.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions