net: hns3: remove unnecessary MAC enable in app loopback
authorYufeng Mo <moyufeng@huawei.com>
Wed, 27 May 2020 00:59:16 +0000 (08:59 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2020 21:56:08 +0000 (14:56 -0700)
commit01952206e17ee34b5fe32f211619ac59ec043990
tree2eea007f35b99cfef43a6cb48e1873e0661cf25f
parent60c800c64d8fdd2fc5b8c62686fb08c6a6fb1045
net: hns3: remove unnecessary MAC enable in app loopback

Packets will not pass through MAC during app loopback.
Therefore, it is meaningless to enable MAC while doing
app loopback. This patch removes this unnecessary action.

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_main.c