drm/amd/powerplay: fix static checker warnings in smu7_hwmgr.c
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 11 Oct 2016 10:51:16 +0000 (18:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Oct 2016 22:25:50 +0000 (18:25 -0400)
commit9faa6b0277fab4ab91db4d69bc47566fdfbae48b
treec2b3ae4dbda6402d102a4ea05f603d02aea4de63
parente07053241b0264e7b107b2b3f4d899635985d353
drm/amd/powerplay: fix static checker warnings in smu7_hwmgr.c

variable dereferenced before check it

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c