diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-06-19 18:27:21 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-20 14:35:34 -0400 |
commit | 6c5c860e77af773c165818e2e2b806e46c1cad57 (patch) | |
tree | c31c9894fb1c324b6986c4443049d0a7254d3aa9 /drivers/gpu/nvgpu/gk20a/ce2_gk20a.h | |
parent | 0b6eff29656a4ee3d3d0bf94fd6a6328ded4ac7a (diff) |
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 <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1505202
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/ce2_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/ce2_gk20a.h | 1 |
1 files changed, 0 insertions, 1 deletions
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 { | |||
99 | /* ce context db */ | 99 | /* ce context db */ |
100 | struct gk20a_gpu_ctx { | 100 | struct gk20a_gpu_ctx { |
101 | struct gk20a *g; | 101 | struct gk20a *g; |
102 | struct device *dev; | ||
103 | u32 ctx_id; | 102 | u32 ctx_id; |
104 | struct nvgpu_mutex gpu_ctx_mutex; | 103 | struct nvgpu_mutex gpu_ctx_mutex; |
105 | int gpu_ctx_state; | 104 | int gpu_ctx_state; |