gpu: nvgpu: linux: remove definition of ecc_sysfs_stats_htable

No one uses it anymore.

Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Change-Id: I0ea7f62e4e4e53d8da66bc00dcbe08a1f94e19a8
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2497936
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Richard Zhao
2021-03-11 15:57:55 -08:00
committed by mobile promotions
parent e445b57b04
commit a56d93aa2f
3 changed files with 1 additions and 7 deletions

View File

@@ -1596,8 +1596,6 @@ static int gk20a_probe(struct platform_device *dev)
return -ENOMEM;
}
hash_init(l->ecc_sysfs_stats_htable);
gk20a = &l->g;
nvgpu_log_fn(gk20a, " ");

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
* Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
@@ -18,7 +18,6 @@
#define NVGPU_OS_LINUX_H
#include <linux/iommu.h>
#include <linux/hashtable.h>
#include <linux/notifier.h>
#include <linux/version.h>
@@ -130,7 +129,6 @@ struct nvgpu_os_linux {
struct dentry *debugfs_dump_ctxsw_stats;
#endif
DECLARE_HASHTABLE(ecc_sysfs_stats_htable, 5);
struct dev_ext_attribute *ecc_attrs;
struct gk20a_cde_app cde_app;

View File

@@ -515,8 +515,6 @@ static int nvgpu_pci_probe(struct pci_dev *pdev,
return -ENOMEM;
}
hash_init(l->ecc_sysfs_stats_htable);
g = &l->g;
g->log_mask = NVGPU_DEFAULT_DBG_MASK;