diff options
author | 2019-04-06 15:43:35 +0800 | |
---|---|---|
committer | 2019-04-08 15:30:49 -0700 | |
commit | 7d60070668e4bf53571f43c6cf30838ca5dccffd (patch) | |
tree | 289612a0f9643ab49900ed06af0babcf6933cb76 /net/core | |
parent | net: hns3: add error handler for initializing command queue (diff) | |
download | wireguard-linux-7d60070668e4bf53571f43c6cf30838ca5dccffd.tar.xz wireguard-linux-7d60070668e4bf53571f43c6cf30838ca5dccffd.zip |
net: hns3: remove resetting check in hclgevf_reset_task_schedule
The checking of HCLGEVF_STATE_RST_HANDLING flag in the
hclgevf_reset_task_schedule() will make some scheduling of
reset pending fail. This flag will be checked in the
hclgevf_reset_service_task(), it is unnecessary to check it
in the hclgevf_reset_task_schedule(). So this patch removes it.
Fixes: 35a1e50343bd ("net: hns3: Add VF Reset Service Task to support event handling")
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions