diff options
author | SivapiriyanKumarasamy <sivapiriyan.kumarasamy@amd.com> | 2018-11-23 20:33:35 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-01-14 15:04:39 -0500 |
commit | 43995f8fb64c54b740262f72ab51d41268c0f7ff (patch) | |
tree | a2f441c1db6e41e816380bca99f44187bb1ccdb4 /drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c | |
parent | c3f574ba7bdb96f6052ec15d69e97c7a2bea68a4 (diff) |
drm/amd/display: Minor code cleanup
[WHY]
There is an extra null check for fs_params in the
build_freesync_hdr function detected by Smatch.
[HOW]
1) Remove the extra null check since it is checked in the
caller.
Signed-off-by: SivapiriyanKumarasamy <sivapiriyan.kumarasamy@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c')
0 files changed, 0 insertions, 0 deletions