net/hns3: remove read when enabling TM QCN error event
authorChengwen Feng <fengchengwen@huawei.com>
Fri, 30 Apr 2021 09:04:02 +0000 (17:04 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 May 2021 16:12:45 +0000 (18:12 +0200)
commit3903c05382c55ce36837405141534c6be042c2a2
tree13b0cadbd7022d1576dca27a78a5264393fcef0c
parent2d408d0609c4b06dbade72e4e6af6c978e96b0de
net/hns3: remove read when enabling TM QCN error event

According to the HW manual, the read operation is unnecessary when
enabling TM QCN error event, so remove it.

Fixes: f53a793bb7c2 ("net/hns3: add more hardware error types")
Cc: stable@dpdk.org
Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_intr.c