]> asedeno.scripts.mit.edu Git - linux.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)
commit056cbab332940b53d0841b052ed1cf4abf7307a5
treee99535f849b995820df2c85d3b140cba05b9979b
parenteb32c896f10a8685162480279bd79f992b33319e
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