commit | 5caa039f320d023fb2a40c8c7ededfca3ce85501 | [log] [tgz] |
---|---|---|
author | Huazhong Tan <tanhuazhong@huawei.com> | Thu May 28 21:48:11 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu May 28 16:39:03 2020 -0700 |
tree | 7c25bb5032b121a6320a8489121eb98017e852ae | |
parent | 9f5a9816065f92683fd5f23cd8ec98719f20144f [diff] |
net: hns3: refactor hclge_query_bd_num_cmd_send() In order to improve code maintainability and readability, rewrite the process of BDs' initialization in hclge_query_bd_num_cmd_send(). Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>