summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/ltc_gp10b.c')
-rw-r--r--drivers/gpu/nvgpu/gp10b/ltc_gp10b.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c b/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c
index b32e2979..dbeed474 100644
--- a/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/ltc_gp10b.c
@@ -72,10 +72,8 @@ static int gp10b_ltc_init_comptags(struct gk20a *g, struct gr_gk20a *gr)
72 72
73 gk20a_dbg_fn(""); 73 gk20a_dbg_fn("");
74 74
75 if (max_comptag_lines == 0) { 75 if (max_comptag_lines == 0)
76 gr->compbit_store.size = 0;
77 return 0; 76 return 0;
78 }
79 77
80 if (max_comptag_lines > hw_max_comptag_lines) 78 if (max_comptag_lines > hw_max_comptag_lines)
81 max_comptag_lines = hw_max_comptag_lines; 79 max_comptag_lines = hw_max_comptag_lines;