]> asedeno.scripts.mit.edu Git - linux.git/commit
net: hns3: remove unnecessary configuration recapture while resetting
authorHuazhong Tan <tanhuazhong@huawei.com>
Tue, 18 Dec 2018 11:37:52 +0000 (19:37 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Dec 2018 20:01:01 +0000 (12:01 -0800)
commitb51c366df70da0100193d13975980f1990a2d47b
treef972bd15bf57ab6a98479d655c2c64b82590cdf4
parentb644a8d4cb18305d31383188da75615490b2c6ef
net: hns3: remove unnecessary configuration recapture while resetting

When doing reset, it is unnecessary to get the hardware's default
configuration again, otherwise, the user's configuration will be
overwritten.

Fixes: 4ed340ab8f49 ("net: hns3: Add reset process in hclge_main")
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