From c49160127acfa5a9f550ecfa2d61c054060dbab3 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Thu, 17 Aug 2017 18:38:32 -0700 Subject: gpu: nvgpu: remove unused tracing from allocators Remove an unused tracing feature from the allocator code. This should make multi-OS support slightly easier. Change-Id: I8b57f037b66227f2110e457bff7aa6b443d89e82 Signed-off-by: Alex Waterman Reviewed-on: https://git-master.nvidia.com/r/1544438 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svccoveritychecker Reviewed-by: svc-mobile-coverity Reviewed-by: Konsta Holtta GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/common/linux/debug_allocator.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'drivers/gpu/nvgpu/common/linux/debug_allocator.c') diff --git a/drivers/gpu/nvgpu/common/linux/debug_allocator.c b/drivers/gpu/nvgpu/common/linux/debug_allocator.c index 6a0aa4c5..766c8486 100644 --- a/drivers/gpu/nvgpu/common/linux/debug_allocator.c +++ b/drivers/gpu/nvgpu/common/linux/debug_allocator.c @@ -20,8 +20,6 @@ #include -u32 nvgpu_alloc_tracing_on; - void nvgpu_alloc_print_stats(struct nvgpu_allocator *__a, struct seq_file *s, int lock) { @@ -76,7 +74,4 @@ void nvgpu_alloc_debugfs_init(struct gk20a *g) l->debugfs_allocators = NULL; return; } - - debugfs_create_u32("tracing", 0664, l->debugfs_allocators, - &nvgpu_alloc_tracing_on); } -- cgit v1.2.2