diff options
| author | Heiner Kallweit <[email protected]> | 2021-08-22 15:54:23 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-08-22 21:45:40 +0100 |
| commit | da417885a99d36036cc7d2778f94b846e6582434 (patch) | |
| tree | 616279f4dcd1c2309725f9fa781cc7a92b14fea3 /tools/perf/scripts/python/Perf-Trace-Util/Context.c | |
| parent | bed3db3d734e8e55815d865913ef75d9f707db96 (diff) | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions