diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-04-06 16:22:01 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-17 20:36:08 -0400 |
commit | 001f19af433b5909e56e8565c3fab6d63a066709 (patch) | |
tree | fff16becccf522731a897edb0759e27671e8e282 /drivers | |
parent | 278b765836b53a92e1b5b15a533221119de27669 (diff) |
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 <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1457358
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/log.h | 14 |
1 files changed, 0 insertions, 14 deletions
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; | |||
163 | DEBUG, fmt "\n", ##arg); \ | 163 | DEBUG, fmt "\n", ##arg); \ |
164 | } while (0) | 164 | } while (0) |
165 | 165 | ||
166 | #define gk20a_err(d, fmt, arg...) \ | ||
167 | do { \ | ||
168 | __nvgpu_log_msg(NULL, __func__, __LINE__, ERROR, \ | ||
169 | fmt "\n", ##arg); \ | ||
170 | (void)(d); \ | ||
171 | } while (0) | ||
172 | |||
173 | #define gk20a_warn(d, fmt, arg...) \ | ||
174 | do { \ | ||
175 | __nvgpu_log_msg(NULL, __func__, __LINE__, WARNING, \ | ||
176 | fmt "\n", ##arg); \ | ||
177 | (void)(d); \ | ||
178 | } while (0) | ||
179 | |||
180 | /* | 166 | /* |
181 | * Some convenience macros. | 167 | * Some convenience macros. |
182 | */ | 168 | */ |