mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
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:
committed by
mobile promotions
parent
e445b57b04
commit
a56d93aa2f
@@ -1596,8 +1596,6 @@ static int gk20a_probe(struct platform_device *dev)
|
|||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
|
|
||||||
hash_init(l->ecc_sysfs_stats_htable);
|
|
||||||
|
|
||||||
gk20a = &l->g;
|
gk20a = &l->g;
|
||||||
|
|
||||||
nvgpu_log_fn(gk20a, " ");
|
nvgpu_log_fn(gk20a, " ");
|
||||||
|
|||||||
@@ -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
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* under the terms and conditions of the GNU General Public License,
|
* under the terms and conditions of the GNU General Public License,
|
||||||
@@ -18,7 +18,6 @@
|
|||||||
#define NVGPU_OS_LINUX_H
|
#define NVGPU_OS_LINUX_H
|
||||||
|
|
||||||
#include <linux/iommu.h>
|
#include <linux/iommu.h>
|
||||||
#include <linux/hashtable.h>
|
|
||||||
#include <linux/notifier.h>
|
#include <linux/notifier.h>
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
||||||
@@ -130,7 +129,6 @@ struct nvgpu_os_linux {
|
|||||||
|
|
||||||
struct dentry *debugfs_dump_ctxsw_stats;
|
struct dentry *debugfs_dump_ctxsw_stats;
|
||||||
#endif
|
#endif
|
||||||
DECLARE_HASHTABLE(ecc_sysfs_stats_htable, 5);
|
|
||||||
struct dev_ext_attribute *ecc_attrs;
|
struct dev_ext_attribute *ecc_attrs;
|
||||||
|
|
||||||
struct gk20a_cde_app cde_app;
|
struct gk20a_cde_app cde_app;
|
||||||
|
|||||||
@@ -515,8 +515,6 @@ static int nvgpu_pci_probe(struct pci_dev *pdev,
|
|||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
|
|
||||||
hash_init(l->ecc_sysfs_stats_htable);
|
|
||||||
|
|
||||||
g = &l->g;
|
g = &l->g;
|
||||||
|
|
||||||
g->log_mask = NVGPU_DEFAULT_DBG_MASK;
|
g->log_mask = NVGPU_DEFAULT_DBG_MASK;
|
||||||
|
|||||||
Reference in New Issue
Block a user