drm/amd/powerplay: Remove unused variable causing compile warning
authorJordan Lazare <Jordan.Lazare@amd.com>
Fri, 26 Aug 2016 21:10:28 +0000 (17:10 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Aug 2016 21:55:20 +0000 (17:55 -0400)
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>
drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c

index f83978300fadf5ae48bf3a06cf86b5e76d4f7b67..5a44485526d2668f35c5fbad98d6d0196828223b 100644 (file)
@@ -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) {