diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-11-07 22:35:58 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-08 11:33:16 -0800 |
commit | c8119fa8922b0dfdda7c7152f7de55040aa5eb1d (patch) | |
tree | 8cd7b78e1590bd9a5a2df146b9cf63065af98040 /drivers/md | |
parent | caee3174731ca342f8e418c642ae780ea9664a73 (diff) | |
download | linux-c8119fa8922b0dfdda7c7152f7de55040aa5eb1d.tar.bz2 |
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>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions