]> asedeno.scripts.mit.edu Git - linux.git/commit
net: hns3: reuse reinitialization interface in the hns3_set_channels
authorHuazhong Tan <tanhuazhong@huawei.com>
Fri, 18 Jan 2019 08:13:06 +0000 (16:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jan 2019 23:10:21 +0000 (15:10 -0800)
commit65749f7375ae7a3cc14237c9972e5a3c14116c85
treebfd537f5027525e60452d0bc4bb8b6fa7acf7ebb
parentbe5929b89002bb6b06b299f04bc35d90ab9d08fe
net: hns3: reuse reinitialization interface in the hns3_set_channels

There is already common interface for network device reinitialization,
so hns3_set_channels() should just call them.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c