diff options
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 = |