From 2d397e34a5aafb5feed406a13f3db536eadae5bb Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Mon, 25 Jun 2018 07:52:21 -0700 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1760666 Reviewed-by: svc-mobile-coverity Reviewed-by: Konsta Holtta Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/gv11b/fifo_gv11b.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'drivers') 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, unsigned int rc_type, u32 runlists_mask) { - bool verbose = false; struct tsg_gk20a *tsg = NULL; u32 rlid, tsgid; struct fifo_runlist_info_gk20a *runlist = NULL; @@ -1025,7 +1024,7 @@ static void gv11b_fifo_locked_abort_runlist_active_tsgs(struct gk20a *g, if (!g->fifo.deferred_reset_pending) { if (rc_type == RC_TYPE_MMU_FAULT) { gk20a_fifo_set_ctx_mmu_error_tsg(g, tsg); - verbose = gk20a_fifo_error_tsg(g, tsg); + gk20a_fifo_error_tsg(g, tsg); } } -- cgit v1.2.2