summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2018-06-25 10:52:21 -0400
committerAlex Waterman <alexw@nvidia.com>2018-06-25 15:10:13 -0400
commit2d397e34a5aafb5feed406a13f3db536eadae5bb (patch)
treeb40903f67e0c2211ecebb4101b24babfd3c5e2f6 /drivers
parentbc0d8a65c198c9a4b254187bd68cc60b7343215f (diff)
gpu: nvgpu: Remove variable that's only ever set
Remove a variable that is only set but never used. Necessary for userspace builds to compile. JIRA NVGPU-525 Change-Id: Ie2f8f90e002a09f089a96a270c264ea1815445ad Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1760666 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/nvgpu/gv11b/fifo_gv11b.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
index 6df1d343..1fe98c35 100644
--- a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c
@@ -986,7 +986,6 @@ static void gv11b_fifo_locked_abort_runlist_active_tsgs(struct gk20a *g,
986 unsigned int rc_type, 986 unsigned int rc_type,
987 u32 runlists_mask) 987 u32 runlists_mask)
988{ 988{
989 bool verbose = false;
990 struct tsg_gk20a *tsg = NULL; 989 struct tsg_gk20a *tsg = NULL;
991 u32 rlid, tsgid; 990 u32 rlid, tsgid;
992 struct fifo_runlist_info_gk20a *runlist = NULL; 991 struct fifo_runlist_info_gk20a *runlist = NULL;
@@ -1025,7 +1024,7 @@ static void gv11b_fifo_locked_abort_runlist_active_tsgs(struct gk20a *g,
1025 if (!g->fifo.deferred_reset_pending) { 1024 if (!g->fifo.deferred_reset_pending) {
1026 if (rc_type == RC_TYPE_MMU_FAULT) { 1025 if (rc_type == RC_TYPE_MMU_FAULT) {
1027 gk20a_fifo_set_ctx_mmu_error_tsg(g, tsg); 1026 gk20a_fifo_set_ctx_mmu_error_tsg(g, tsg);
1028 verbose = gk20a_fifo_error_tsg(g, tsg); 1027 gk20a_fifo_error_tsg(g, tsg);
1029 } 1028 }
1030 } 1029 }
1031 1030