Skip to content
Commit c8119fa8 authored by YueHaibing's avatar YueHaibing Committed by David S. Miller
Browse files

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: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent caee3174
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