mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
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>
This commit is contained in:
committed by
mobile promotions
parent
3d90f0aad5
commit
12cd49a733
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user