commit | c8119fa8922b0dfdda7c7152f7de55040aa5eb1d | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Thu Nov 07 22:35:58 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 08 11:33:16 2019 -0800 |
tree | 8cd7b78e1590bd9a5a2df146b9cf63065af98040 | |
parent | caee3174731ca342f8e418c642ae780ea9664a73 [diff] |
cxgb4: 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: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>