commit | 1db58f86975a1f978b71b727ed9951ec53698fc0 | [log] [tgz] |
---|---|---|
author | Huazhong Tan <tanhuazhong@huawei.com> | Tue May 28 17:02:58 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue May 28 17:39:01 2019 -0700 |
tree | 6df364d3d4ad3b0c0f7877671298ddcdcdada025 | |
parent | 994e04f16e5a50ef14f4353f4bd68ad48a0bcb79 [diff] |
net: hns3: modify hclgevf_init_client_instance() hclgevf_init_client_instance() is a little bloated and there is some duplicated code. This patch adds some cleanup for it. Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>