summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/powerplay/smumgr
diff options
context:
space:
mode:
authorJordan Lazare <Jordan.Lazare@amd.com>2016-08-27 00:10:28 +0300
committerAlex Deucher <alexander.deucher@amd.com>2016-08-31 00:55:20 +0300
commit738d98c994e044cbe326dd27d9bee381b04c5b0a (patch)
treef165344df138d4e69dfe3af0346408e0d4ae4fd3 /drivers/gpu/drm/amd/powerplay/smumgr
parent83667ed69802532cd2f7933b770ddb2a10d5e480 (diff)
downloadlinux-738d98c994e044cbe326dd27d9bee381b04c5b0a.tar.xz
drm/amd/powerplay: Remove unused variable causing compile warning
If treating warnings as errors this causes a build error Signed-off-by: Jordan Lazare <Jordan.Lazare@amd.com> Reviewed-by: Alex Deucher <Alexander.Deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/smumgr')
-rw-r--r--drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c
index f83978300fad..5a44485526d2 100644
--- a/drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c
+++ b/drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c
@@ -144,7 +144,6 @@ static int cz_send_msg_to_smc_with_parameter(struct pp_smumgr *smumgr,
static int cz_request_smu_load_fw(struct pp_smumgr *smumgr)
{
struct cz_smumgr *cz_smu = (struct cz_smumgr *)(smumgr->backend);
- int result = 0;
uint32_t smc_address;
if (!smumgr->reload_fw) {