diff options
author | Pu Lehui <pulehui@huawei.com> | 2021-06-17 09:16:32 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-06-18 17:14:30 -0400 |
commit | 23549470eaf9f7c0897822ad2d06118b2dfccbd1 (patch) | |
tree | bce182759a191bcd7c8e2f0d6aefbd0658c0667a /drivers/gpu/drm/amd/display/dc/dce | |
parent | 85019b19d484b0616dd7b68ffbca2e01d28b5c8b (diff) |
drm/amd/display: remove unused variable 'dc'
GCC reports the following warning with W=1:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_psr.c:70:13:
warning:
variable ‘dc’ set but not used [-Wunused-but-set-variable]
70 | struct dc *dc = NULL;
| ^~
This variable is not used in function, this commit remove it to
fix the warning.
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Pu Lehui <pulehui@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce')
0 files changed, 0 insertions, 0 deletions