diff options
| author | Austin Kim <[email protected]> | 2019-10-02 05:17:59 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-10-03 14:11:06 +0000 |
| commit | 36e255dd8ffd0aa1a73874740180870519aef37c (patch) | |
| tree | 9201ef4881dc71fb557c868c29d934d5cc2c30d1 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
| parent | drm/amdgpu: fix multiple memory leaks in acp_hw_init (diff) | |
| download | kernel-36e255dd8ffd0aa1a73874740180870519aef37c.tar.gz kernel-36e255dd8ffd0aa1a73874740180870519aef37c.zip | |
drm/amdgpu: Drop unused variable and statement
Even though 'smu8_smu' is declared, it is not used after below statement.
smu8_smu = hwmgr->smu_backend;
So 'unused variable' could be safely removed
to stop warning message as below:
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/smu8_smumgr.c:180:22:
warning: variable ‘smu8_smu’ set but not used
[-Wunused-but-set-variable]
struct smu8_smumgr *smu8_smu;
^
Signed-off-by: Austin Kim <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions
