From 6c5c860e77af773c165818e2e2b806e46c1cad57 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Mon, 19 Jun 2017 15:27:21 -0700 Subject: gpu: nvgpu: Remove device pointer from gk20a_gpu_ctx Remove pointer to struct device from gk20a_gpu_ctx. The pointer is not used anywhere, and it adds an unnecessary Linux dependency. JIRA NVGPU-38 Change-Id: Id5843a21e4809ca840e4f5d561728f859bbd964e Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/1505202 Reviewed-by: Alex Waterman Reviewed-by: Konsta Holtta GVS: Gerrit_Virtual_Submit --- drivers/gpu/nvgpu/gk20a/ce2_gk20a.h | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gk20a/ce2_gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.h b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.h index f972e175..93905ab9 100644 --- a/drivers/gpu/nvgpu/gk20a/ce2_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/ce2_gk20a.h @@ -99,7 +99,6 @@ struct gk20a_ce_app { /* ce context db */ struct gk20a_gpu_ctx { struct gk20a *g; - struct device *dev; u32 ctx_id; struct nvgpu_mutex gpu_ctx_mutex; int gpu_ctx_state; -- cgit v1.2.2