diff options
| author | 2021-08-22 15:54:23 +0200 | |
|---|---|---|
| committer | 2021-08-22 21:45:40 +0100 | |
| commit | da417885a99d36036cc7d2778f94b846e6582434 (patch) | |
| tree | 616279f4dcd1c2309725f9fa781cc7a92b14fea3 /scripts | |
| parent | bnx2x: Read VPD with pci_vpd_alloc() (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 <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
