net: hns3: refactor the function for dumping tc information in debugfs
authorYufeng Mo <moyufeng@huawei.com>
Fri, 25 Sep 2020 00:26:13 +0000 (08:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2020 03:19:24 +0000 (20:19 -0700)
commit00577c8b7fa2ddd6194a989af5f005a09103ea85
treec984e198ffc78b24fe8a9f6880de81e96d660f29
parent77d0cab93909edf1e5740643d788ac2e458b8187
net: hns3: refactor the function for dumping tc information in debugfs

Remove some unnecessary parameters of hclge_title_idx_print(),
and rename this function for readability.

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