Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a754e5c4 authored by Peng Li's avatar Peng Li Committed by David S. Miller
Browse files

net: hns3: Remove the warning when clear reset cause



Only the core/global/IMP reset need clear cause, other type does not
need do it. The warning may be treated as error as it is normal. This
patch removes the warning.

Signed-off-by: default avatarPeng Li <lipeng321@huawei.com>
Signed-off-by: default avatarSalil Mehta <salil.mehta@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 03718db9
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2805,8 +2805,6 @@ static void hclge_clear_reset_cause(struct hclge_dev *hdev)
		clearval = BIT(HCLGE_VECTOR0_CORERESET_INT_B);
		break;
	default:
		dev_warn(&hdev->pdev->dev, "Unsupported reset event to clear:%d",
			 hdev->reset_type);
		break;
	}