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/lpwr/rppg.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'drivers/gpu/nvgpu/lpwr/rppg.c') diff --git a/drivers/gpu/nvgpu/lpwr/rppg.c b/drivers/gpu/nvgpu/lpwr/rppg.c index b1c72a4a..6fc86b2b 100644 --- a/drivers/gpu/nvgpu/lpwr/rppg.c +++ b/drivers/gpu/nvgpu/lpwr/rppg.c @@ -29,18 +29,15 @@ static void pmu_handle_rppg_init_msg(struct gk20a *g, struct pmu_msg *msg, void *param, u32 handle, u32 status) { - - u8 ctrlId = NV_PMU_RPPG_CTRL_ID_MAX; u32 *success = param; if (status == 0) { switch (msg->msg.pg.rppg_msg.cmn.msg_id) { case NV_PMU_RPPG_MSG_ID_INIT_CTRL_ACK: - ctrlId = msg->msg.pg.rppg_msg.init_ctrl_ack.ctrl_id; *success = 1; nvgpu_pmu_dbg(g, "RPPG is acknowledged from PMU %x", msg->msg.pg.msg_type); - break; + break; } } @@ -160,5 +157,3 @@ u32 init_rppg(struct gk20a *g) return status; } - - -- cgit v1.2.2