diff options
author | Alex Waterman <alexw@nvidia.com> | 2018-03-12 19:01:44 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-03-30 17:54:08 -0400 |
commit | 12cd49a733f88c2d6ad41a5c411d1076f26956ed (patch) | |
tree | c967b22b86c44165f1c61fbabb6a037dc30ec803 /drivers/gpu/nvgpu/clk/clk_freq_controller.c | |
parent | 3d90f0aad537d92b42bc8250252f521b649077f8 (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/clk/clk_freq_controller.c')
-rw-r--r-- | drivers/gpu/nvgpu/clk/clk_freq_controller.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/clk/clk_freq_controller.c b/drivers/gpu/nvgpu/clk/clk_freq_controller.c index f5c1e929..fce177a7 100644 --- a/drivers/gpu/nvgpu/clk/clk_freq_controller.c +++ b/drivers/gpu/nvgpu/clk/clk_freq_controller.c | |||
@@ -180,7 +180,6 @@ static u32 clk_get_freq_controller_table(struct gk20a *g, | |||
180 | struct vbios_fct_1x_entry entry = { 0 }; | 180 | struct vbios_fct_1x_entry entry = { 0 }; |
181 | u8 entry_idx; | 181 | u8 entry_idx; |
182 | u8 *entry_offset; | 182 | u8 *entry_offset; |
183 | u32 freq_controller_id; | ||
184 | struct clk_freq_controller *pclk_freq_cntr = NULL; | 183 | struct clk_freq_controller *pclk_freq_cntr = NULL; |
185 | struct clk_freq_controller *ptmp_freq_cntr = NULL; | 184 | struct clk_freq_controller *ptmp_freq_cntr = NULL; |
186 | struct clk_freq_controller_pi *ptmp_freq_cntr_pi = NULL; | 185 | struct clk_freq_controller_pi *ptmp_freq_cntr_pi = NULL; |
@@ -233,8 +232,6 @@ static u32 clk_get_freq_controller_table(struct gk20a *g, | |||
233 | (u8)BIOS_GET_FIELD(entry.param0, | 232 | (u8)BIOS_GET_FIELD(entry.param0, |
234 | NV_VBIOS_FCT_1X_ENTRY_PARAM0_ID); | 233 | NV_VBIOS_FCT_1X_ENTRY_PARAM0_ID); |
235 | 234 | ||
236 | freq_controller_id = ptmp_freq_cntr->controller_id; | ||
237 | |||
238 | pclk_domain = CLK_CLK_DOMAIN_GET((&g->clk_pmu), | 235 | pclk_domain = CLK_CLK_DOMAIN_GET((&g->clk_pmu), |
239 | (u32)entry.clk_domain_idx); | 236 | (u32)entry.clk_domain_idx); |
240 | freq_controller_data.freq_controller.clk_domain = | 237 | freq_controller_data.freq_controller.clk_domain = |