diff options
author | Guojia Liao <liaoguojia@huawei.com> | 2019-09-05 21:31:42 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-06 15:20:35 +0200 |
commit | 91f8ff09ada1df21d07acee5ef526c436d9cd8e4 (patch) | |
tree | 72b8f12104247db4204c9541055dc06d9aae6eff /drivers/net/ethernet/hisilicon/hns3 | |
parent | 1cbc662dd847ea4d6e934002757d3e00449013f4 (diff) | |
download | linux-91f8ff09ada1df21d07acee5ef526c436d9cd8e4.tar.gz linux-91f8ff09ada1df21d07acee5ef526c436d9cd8e4.tar.bz2 linux-91f8ff09ada1df21d07acee5ef526c436d9cd8e4.zip |
net: hns3: make hclge_dbg_get_m7_stats_info static
hclge_dbg_get_m7_info is used only in the hclge_debugfs.c,
so it should be declared with static.
Signed-off-by: Guojia Liao <liaoguojia@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c index 1c6b501fb7ca..6dcce489fdc5 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c @@ -949,7 +949,7 @@ static void hclge_dbg_dump_rst_info(struct hclge_dev *hdev) hdev->rst_stats.reset_cnt); } -void hclge_dbg_get_m7_stats_info(struct hclge_dev *hdev) +static void hclge_dbg_get_m7_stats_info(struct hclge_dev *hdev) { struct hclge_desc *desc_src, *desc_tmp; struct hclge_get_m7_bd_cmd *req; |