OSDN Git Service

net: hns3: remove redundant client_setup_tc handle
authorJian Shen <shenjian15@huawei.com>
Tue, 9 Feb 2021 02:41:52 +0000 (10:41 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Feb 2021 23:34:07 +0000 (15:34 -0800)
commitae9e492a366433b97be414d2e90a2e24f8446abf
tree0479d8b833184469ca7b5222a8b72dbf86e0d0ca
parent0256844d0f325c323baf947eaf6bb375d195de26
net: hns3: remove redundant client_setup_tc handle

Since the real tx queue number and real rx queue number
always be updated when netdev opens, it's redundant
to call hclge_client_setup_tc to do the same thing.
So remove it.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c