linux_dsm_epyc7002/drivers/gpu/drm/amd
Harry Wentland 252f3d950d drm/amd/display: Remove unnecessary NULL check in set_preferred_link_settings
[Why]
link_stream is never NULL here as we've dereferenced it a couple lines before
and have done so for a couple months now.

[How]
- Drop the NULL check.
- Initialize where we know link_stream is non-NULL

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-07-18 14:18:10 -05:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu: use VCN firmware offset for cache window 2019-07-18 14:18:07 -05:00
amdkfd drm/amdkfd: Increase vcrat size for GPU 2019-07-18 14:18:07 -05:00
display drm/amd/display: Remove unnecessary NULL check in set_preferred_link_settings 2019-07-18 14:18:10 -05:00
include drm/amdgpu: exposing fica registers to df offsets 2019-07-18 14:18:07 -05:00
powerplay drm/amd/powerplay: change sysfs pp_dpm_xxx format for navi10 2019-07-18 14:18:07 -05:00