Revert "net: hns3: fix a deadlock problem when config TC during resetting"
This reverts commit 26a0b43c4b
.
This commit is contained in:
parent
96dce0d1d7
commit
39f88f5bf8
1 changed files with 0 additions and 3 deletions
|
@ -4536,9 +4536,6 @@ static int hns3_reset_notify_uninit_enet(struct hnae3_handle *handle)
|
|||
struct hns3_nic_priv *priv = netdev_priv(netdev);
|
||||
int ret;
|
||||
|
||||
if (!test_bit(HNS3_NIC_STATE_DOWN, &priv->state))
|
||||
hns3_nic_net_stop(netdev);
|
||||
|
||||
if (!test_and_clear_bit(HNS3_NIC_STATE_INITED, &priv->state)) {
|
||||
netdev_warn(netdev, "already uninitialized\n");
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue