diff options
| author | Harry Wentland <[email protected]> | 2019-05-31 14:17:43 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-07-18 14:18:10 -0500 |
| commit | 252f3d950d2e7c45869096aa1efc883464149b31 (patch) | |
| tree | c24d951cb2f51ef887577e67508b4f50d66016d0 /tools/perf/scripts/python | |
| parent | 03f3e40c8b5c227e1435bee0afa2cbc657c15cf4 (diff) | |
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 <[email protected]>
Reviewed-by: Nicholas Kazlauskas <[email protected]>
Acked-by: Leo Li <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions