commit | 994e04f16e5a50ef14f4353f4bd68ad48a0bcb79 | [log] [tgz] |
---|---|---|
author | Huazhong Tan <tanhuazhong@huawei.com> | Tue May 28 17:02:57 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue May 28 17:39:01 2019 -0700 |
tree | f5ce715a3676c957138b12f718bc20843f34bdb5 | |
parent | 25d1817c4e5020b850b8bc383401ceff3cbc6e31 [diff] |
net: hns3: modify hclge_init_client_instance() hclge_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>