From 12cd49a733f88c2d6ad41a5c411d1076f26956ed Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Mon, 12 Mar 2018 16:01:44 -0700 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1673820 Reviewed-by: svc-mobile-coverity Reviewed-by: Konsta Holtta GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/clk/clk_vin.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'drivers/gpu/nvgpu/clk/clk_vin.c') 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, /* Read table entries*/ vin_tbl_entry_ptr = vin_table_ptr + vin_desc_table_header.header_sizee; for (index = 0; index < vin_desc_table_header.entry_count; index++) { - u32 vin_id; - memcpy(&vin_desc_table_entry, vin_tbl_entry_ptr, sizeof(struct vin_descriptor_entry_10)); if (vin_desc_table_entry.vin_device_type == CTRL_CLK_VIN_TYPE_DISABLED) continue; - vin_id = vin_desc_table_entry.vin_device_id; - vin_dev_data.super.type = (u8)vin_desc_table_entry.vin_device_type; vin_dev_data.id = (u8)vin_desc_table_entry.vin_device_id; -- cgit v1.2.2