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/include/nvgpu/allocator.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'drivers/gpu/nvgpu/include') diff --git a/drivers/gpu/nvgpu/include/nvgpu/allocator.h b/drivers/gpu/nvgpu/include/nvgpu/allocator.h index 567c4422..30bfa750 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/allocator.h +++ b/drivers/gpu/nvgpu/include/nvgpu/allocator.h @@ -281,20 +281,6 @@ static inline void nvgpu_alloc_disable_dbg(struct nvgpu_allocator *a) /* * Debug stuff. */ -extern u32 nvgpu_alloc_tracing_on; - -#define nvgpu_alloc_trace_func() \ - do { \ - if (nvgpu_alloc_tracing_on) \ - trace_printk("%s\n", __func__); \ - } while (0) - -#define nvgpu_alloc_trace_func_done() \ - do { \ - if (nvgpu_alloc_tracing_on) \ - trace_printk("%s_done\n", __func__); \ - } while (0) - #define __alloc_pstat(seq, allocator, fmt, arg...) \ do { \ if (s) \ -- cgit v1.2.2