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/perf/perf.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/perf/perf.c')
-rw-r--r-- | drivers/gpu/nvgpu/perf/perf.c | 2 |
1 files changed, 0 insertions, 2 deletions
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) | |||
68 | u32 perf_pmu_vfe_load(struct gk20a *g) | 68 | u32 perf_pmu_vfe_load(struct gk20a *g) |
69 | { | 69 | { |
70 | struct pmu_cmd cmd; | 70 | struct pmu_cmd cmd; |
71 | struct pmu_msg msg; | ||
72 | struct pmu_payload payload; | 71 | struct pmu_payload payload; |
73 | u32 status; | 72 | u32 status; |
74 | u32 seqdesc; | 73 | u32 seqdesc; |
@@ -89,7 +88,6 @@ u32 perf_pmu_vfe_load(struct gk20a *g) | |||
89 | (u32)sizeof(struct pmu_hdr); | 88 | (u32)sizeof(struct pmu_hdr); |
90 | 89 | ||
91 | cmd.cmd.perf.cmd_type = NV_PMU_PERF_CMD_ID_RPC; | 90 | cmd.cmd.perf.cmd_type = NV_PMU_PERF_CMD_ID_RPC; |
92 | msg.hdr.size = sizeof(struct pmu_msg); | ||
93 | 91 | ||
94 | payload.in.buf = (u8 *)&rpccall; | 92 | payload.in.buf = (u8 *)&rpccall; |
95 | payload.in.size = (u32)sizeof(struct nv_pmu_perf_rpc); | 93 | payload.in.size = (u32)sizeof(struct nv_pmu_perf_rpc); |