drm/amd/display: Remove PSR functions in Linux
commit492c378aaa63e0ba65e6ee9645022e2b83703f25
authorHarry Wentland <harry.wentland@amd.com>
Sat, 11 Nov 2017 01:01:38 +0000 (10 20:01 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Dec 2017 15:51:51 +0000 (14 10:51 -0500)
tree168266fdb9dde9ef35a520a7d47b88ebc30007c4
parentfeb4a3cd8eb007f4749dc8323110f42fb4682ae0
drm/amd/display: Remove PSR functions in Linux

NULL check issue found by smatch:
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1976
dc_link_setup_psr() warn: variable dereferenced before check 'link' (see
line 1970)

We don't use these functions so might as well remove them.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c