summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h
diff options
context:
space:
mode:
authorJie Wang <wangjie125@huawei.com>2021-11-29 22:00:20 +0800
committerDavid S. Miller <davem@davemloft.net>2021-11-29 14:26:17 +0000
commite6fe5e167185b610a948337ab565ed7a7e313f80 (patch)
tree87119f3633e18d0599f739f8b785080bf33d93db /drivers/net/ethernet/hisilicon/hns3/hns3_enet.h
parente74a726da2c4dcedb8b0631f423d0044c7901a20 (diff)
net: hns3: refactor two hns3 debugfs functions
Use for statement to optimize some print work of function hclge_dbg_dump_rst_info() and hclge_dbg_dump_mac_enable_status() to improve code simplicity. Signed-off-by: Jie Wang <wangjie125@huawei.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3_enet.h')
0 files changed, 0 insertions, 0 deletions