Skip to content
Commit da417885 authored by Heiner Kallweit's avatar Heiner Kallweit Committed by David S. Miller
Browse files

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: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bed3db3d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment