gpu: nvgpu: debug: remove unused dentry pointers

Starting with kernel 5.7-rc3, the debugfs_create_u32 function returns
void instead of (struct dentry *). The rationale was that the
returned value was never used, and indeed it was not used within
NVGPU.

JIRA HK123-39

Change-Id: Ic8c2aaf9c84bcf016ed7a0183d84da311e4027d0
Signed-off-by: Nicolas Benech <nbenech@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2337859
Reviewed-by: automaticguardword <automaticguardword@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Nicolas Benech
2020-04-29 11:52:56 -04:00
committed by Alex Waterman
parent cd7194cbc0
commit 4267008096
3 changed files with 15 additions and 29 deletions

View File

@@ -152,12 +152,8 @@ struct nvgpu_os_linux {
struct dentry *debugfs_ltc_enabled;
struct dentry *debugfs_timeouts_enabled;
struct dentry *debugfs_poll_timeout_default;
struct dentry *debugfs_disable_bigpage;
struct dentry *debugfs_tsg_timeslice_low_priority_us;
struct dentry *debugfs_tsg_timeslice_medium_priority_us;
struct dentry *debugfs_tsg_timeslice_high_priority_us;
struct dentry *debugfs_runlist_interleave;
struct dentry *debugfs_allocators;
struct dentry *debugfs_xve;