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/perf/perf.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'drivers/gpu/nvgpu/perf') diff --git a/drivers/gpu/nvgpu/perf/perf.c b/drivers/gpu/nvgpu/perf/perf.c index 7dd435e5..55e67b15 100644 --- a/drivers/gpu/nvgpu/perf/perf.c +++ b/drivers/gpu/nvgpu/perf/perf.c @@ -68,7 +68,6 @@ static int pmu_handle_perf_event(struct gk20a *g, void *pmu_msg) u32 perf_pmu_vfe_load(struct gk20a *g) { struct pmu_cmd cmd; - struct pmu_msg msg; struct pmu_payload payload; u32 status; u32 seqdesc; @@ -89,7 +88,6 @@ u32 perf_pmu_vfe_load(struct gk20a *g) (u32)sizeof(struct pmu_hdr); cmd.cmd.perf.cmd_type = NV_PMU_PERF_CMD_ID_RPC; - msg.hdr.size = sizeof(struct pmu_msg); payload.in.buf = (u8 *)&rpccall; payload.in.size = (u32)sizeof(struct nv_pmu_perf_rpc); -- cgit v1.2.2