projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83667ed
)
drm/amd/powerplay: Remove unused variable causing compile warning
author
Jordan Lazare
<
[email protected]
>
Fri, 26 Aug 2016 21:10:28 +0000
(17:10 -0400)
committer
Alex Deucher
<
[email protected]
>
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 <
[email protected]
>
Reviewed-by: Alex Deucher <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c
b/drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c
index f83978300fadf5ae48bf3a06cf86b5e76d4f7b67..5a44485526d2668f35c5fbad98d6d0196828223b 100644
(file)
--- 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) {