From 001f19af433b5909e56e8565c3fab6d63a066709 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Thu, 6 Apr 2017 13:22:01 -0700 Subject: gpu: nvgpu: Remove the old error macros Remove old gk20a_err() and gk20a_warn as they're no longer used. JIRA NVGPU-16 Change-Id: Id07aae20648631ef5aa0ee47d6a935055ce784dd Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/1457358 Reviewed-by: Alex Waterman Reviewed-by: svccoveritychecker GVS: Gerrit_Virtual_Submit --- drivers/gpu/nvgpu/include/nvgpu/log.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'drivers/gpu/nvgpu') diff --git a/drivers/gpu/nvgpu/include/nvgpu/log.h b/drivers/gpu/nvgpu/include/nvgpu/log.h index 45a6ec11..f68ef308 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/log.h +++ b/drivers/gpu/nvgpu/include/nvgpu/log.h @@ -163,20 +163,6 @@ extern u32 nvgpu_dbg_mask; DEBUG, fmt "\n", ##arg); \ } while (0) -#define gk20a_err(d, fmt, arg...) \ - do { \ - __nvgpu_log_msg(NULL, __func__, __LINE__, ERROR, \ - fmt "\n", ##arg); \ - (void)(d); \ - } while (0) - -#define gk20a_warn(d, fmt, arg...) \ - do { \ - __nvgpu_log_msg(NULL, __func__, __LINE__, WARNING, \ - fmt "\n", ##arg); \ - (void)(d); \ - } while (0) - /* * Some convenience macros. */ -- cgit v1.2.2