diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/debug_allocator.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/debug_allocator.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/debug_allocator.c b/drivers/gpu/nvgpu/common/linux/debug_allocator.c index 91ae0512..d63a9030 100644 --- a/drivers/gpu/nvgpu/common/linux/debug_allocator.c +++ b/drivers/gpu/nvgpu/common/linux/debug_allocator.c | |||
@@ -55,8 +55,6 @@ void nvgpu_init_alloc_debug(struct gk20a *g, struct nvgpu_allocator *a) | |||
55 | 55 | ||
56 | void nvgpu_fini_alloc_debug(struct nvgpu_allocator *a) | 56 | void nvgpu_fini_alloc_debug(struct nvgpu_allocator *a) |
57 | { | 57 | { |
58 | if (!IS_ERR_OR_NULL(a->debugfs_entry)) | ||
59 | debugfs_remove(a->debugfs_entry); | ||
60 | } | 58 | } |
61 | 59 | ||
62 | void nvgpu_alloc_debugfs_init(struct gk20a *g) | 60 | void nvgpu_alloc_debugfs_init(struct gk20a *g) |