net: hns3: remove an unnecessary resetting check in hclge_handle_hw_ras_error()
authorYufeng Mo <moyufeng@huawei.com>
Sat, 7 Mar 2020 03:42:44 +0000 (11:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2020 02:36:13 +0000 (19:36 -0700)
commit89a85559302f473d2c7f22c774b31f979a0e62dc
treed75556a4474f65e187d9e68721231d7661526b69
parent4960cabff63e09066a8d02b0375b654d41ce174f
net: hns3: remove an unnecessary resetting check in hclge_handle_hw_ras_error()

In hclge_handle_hw_ras_error(), it is unnecessary to check
HCLGE_STATE_RST_HANDLING flag, because the reset priority
has been ensured by the process itself.

Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c