]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: remove unused variable 'ret' in dm_suspend()
authorJason Yan <yanaijie@huawei.com>
Mon, 4 May 2020 11:32:13 +0000 (19:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 May 2020 17:10:34 +0000 (13:10 -0400)
commit3d541636978d25c731ce204ad687a85fdc257430
treed3fd5a95e2f962dc0189abcb4979496f3bd52f36
parent84b1bc2cb4320c872ba8d12d262835412cdb11ef
drm/amd/display: remove unused variable 'ret' in dm_suspend()

Fix the following coccicheck warning:

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:1574:5-8: Unneeded
variable: "ret". Return "0" on line 1586

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c