summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/xve_gp106.c
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2018-03-12 19:01:44 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-03-30 17:54:08 -0400
commit12cd49a733f88c2d6ad41a5c411d1076f26956ed (patch)
treec967b22b86c44165f1c61fbabb6a037dc30ec803 /drivers/gpu/nvgpu/gp106/xve_gp106.c
parent3d90f0aad537d92b42bc8250252f521b649077f8 (diff)
gpu: nvgpu: Cleanup more set but unused variables
This time they were largely located in the various common directories. JIRA NVGPU-525 Change-Id: I3a6d523b060a0c6761b227267890298c6d2fb19f Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1673820 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Konsta Holtta <kholtta@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/xve_gp106.c')
-rw-r--r--drivers/gpu/nvgpu/gp106/xve_gp106.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gp106/xve_gp106.c b/drivers/gpu/nvgpu/gp106/xve_gp106.c
index 5acf35b2..ac6684a5 100644
--- a/drivers/gpu/nvgpu/gp106/xve_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/xve_gp106.c
@@ -162,10 +162,6 @@ static void set_xve_l1_mask(struct gk20a *g, int status)
162 */ 162 */
163void xve_disable_aspm_gp106(struct gk20a *g) 163void xve_disable_aspm_gp106(struct gk20a *g)
164{ 164{
165 u32 xve_priv;
166
167 xve_priv = g->ops.xve.xve_readl(g, xve_priv_xv_r());
168
169 set_xve_l0s_mask(g, true); 165 set_xve_l0s_mask(g, true);
170 set_xve_l1_mask(g, true); 166 set_xve_l1_mask(g, true);
171} 167}