summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2019-10-16 12:20:09 -0400
committerStanley.Yang <Stanley.Yang@amd.com>2019-10-18 18:00:08 +0800
commit0a17eb94733986ab221f6fad9155cb731f09f8c1 (patch)
treed34224107e22a56c429ffe516f336c138bb62f26
parentb7e23470edc8b85345c29880eed0d5f8f465edbe (diff)
drm/amdgpu/soc15: remove unused variables
Leftover when I rebased my last baco patches. Trivial. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc15.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 438722c0b76a..9457502a9909 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -497,8 +497,6 @@ static int soc15_asic_get_baco_capability(struct amdgpu_device *adev, bool *cap)
static int soc15_asic_baco_reset(struct amdgpu_device *adev)
{
- void *pp_handle = adev->powerplay.pp_handle;
- const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs;
struct amdgpu_ras *ras = amdgpu_ras_get_context(adev);
/* avoid NBIF got stuck when do RAS recovery in BACO reset */