diff options
author | Jie Wang <wangjie125@huawei.com> | 2021-11-29 22:00:20 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-29 14:26:17 +0000 |
commit | e6fe5e167185b610a948337ab565ed7a7e313f80 (patch) | |
tree | 87119f3633e18d0599f739f8b785080bf33d93db /drivers/net/ethernet/ethoc.c | |
parent | e74a726da2c4dcedb8b0631f423d0044c7901a20 (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/ethoc.c')
0 files changed, 0 insertions, 0 deletions