mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
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
This commit is contained in:
committed by
mobile promotions
parent
278b765836
commit
001f19af43
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user