mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: compile out ununsed code on safety build for common.nvgpu
Jira NVGPU-7052 Change-Id: Idab4f9d56c0748f54fd08fc5fd01d96a66f94700 Signed-off-by: shashank singh <shashsingh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2581247 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2670885 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
05a1f927f8
commit
fb0ebef0a7
@@ -1187,9 +1187,11 @@ static void gk20a_free_cb(struct nvgpu_ref *refcount)
|
||||
|
||||
gk20a_debug_deinit(g);
|
||||
|
||||
#ifdef CONFIG_NVGPU_NON_FUSA
|
||||
if (g->gfree != NULL) {
|
||||
g->gfree(g);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
struct gk20a *nvgpu_get(struct gk20a *g)
|
||||
|
||||
Reference in New Issue
Block a user