diff options
Diffstat (limited to 'drivers/gpu/nvgpu/clk/clk_vin.c')
-rw-r--r-- | drivers/gpu/nvgpu/clk/clk_vin.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/clk/clk_vin.c b/drivers/gpu/nvgpu/clk/clk_vin.c index 17e1c15a..6f47d2c8 100644 --- a/drivers/gpu/nvgpu/clk/clk_vin.c +++ b/drivers/gpu/nvgpu/clk/clk_vin.c | |||
@@ -387,16 +387,12 @@ static u32 devinit_get_vin_device_table(struct gk20a *g, | |||
387 | /* Read table entries*/ | 387 | /* Read table entries*/ |
388 | vin_tbl_entry_ptr = vin_table_ptr + vin_desc_table_header.header_sizee; | 388 | vin_tbl_entry_ptr = vin_table_ptr + vin_desc_table_header.header_sizee; |
389 | for (index = 0; index < vin_desc_table_header.entry_count; index++) { | 389 | for (index = 0; index < vin_desc_table_header.entry_count; index++) { |
390 | u32 vin_id; | ||
391 | |||
392 | memcpy(&vin_desc_table_entry, vin_tbl_entry_ptr, | 390 | memcpy(&vin_desc_table_entry, vin_tbl_entry_ptr, |
393 | sizeof(struct vin_descriptor_entry_10)); | 391 | sizeof(struct vin_descriptor_entry_10)); |
394 | 392 | ||
395 | if (vin_desc_table_entry.vin_device_type == CTRL_CLK_VIN_TYPE_DISABLED) | 393 | if (vin_desc_table_entry.vin_device_type == CTRL_CLK_VIN_TYPE_DISABLED) |
396 | continue; | 394 | continue; |
397 | 395 | ||
398 | vin_id = vin_desc_table_entry.vin_device_id; | ||
399 | |||
400 | vin_dev_data.super.type = | 396 | vin_dev_data.super.type = |
401 | (u8)vin_desc_table_entry.vin_device_type; | 397 | (u8)vin_desc_table_entry.vin_device_type; |
402 | vin_dev_data.id = (u8)vin_desc_table_entry.vin_device_id; | 398 | vin_dev_data.id = (u8)vin_desc_table_entry.vin_device_id; |