]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: deactive the reset timer when reset successfully
authorHuazhong Tan <tanhuazhong@huawei.com>
Sat, 6 Apr 2019 07:43:29 +0000 (15:43 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Apr 2019 22:30:49 +0000 (15:30 -0700)
commitdb1cbc373a6a69585d6e45de783d6910858d47b2
treee99535f849b995820df2c85d3b140cba05b9979b
parentcfa0db0bc49c865e3ca9dc68fe30f285a4b3e290
net: hns3: deactive the reset timer when reset successfully

If the reset has been done successfully, the ongoing reset timer
is unnecessary.

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>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c