OSDN Git Service

net: hns3: Remove repeat statistic of rx_errors
authorJian Shen <shenjian15@huawei.com>
Fri, 5 Jan 2018 10:18:09 +0000 (18:18 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jan 2018 19:06:17 +0000 (14:06 -0500)
commit7ea5cbdc66097f501398ef4810f0c94f4120647f
tree349876ae46088da3432f2d6f2aeb739462b1804f
parent200a88c69d26cafc00b1d4a729f19341a16734e8
net: hns3: Remove repeat statistic of rx_errors

The igu_rx_err_pkt indicates the same error with
mac_rx_fcs_err_pkt_num, so remove it.

Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c