diff options
| author | Alex Hung <alex.hung@amd.com> | 2024-09-30 11:29:02 -0600 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2024-10-15 11:22:48 -0400 |
| commit | e421808cbe6d0ed124d255b684eebb21437df14a (patch) | |
| tree | 9879c28c8f69b5724e65d8a20a5b3c533a160577 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c | |
| parent | drm/amd/display: Check status from dpcd_get_tunneling_device_data (diff) | |
| download | linux-e421808cbe6d0ed124d255b684eebb21437df14a.tar.gz linux-e421808cbe6d0ed124d255b684eebb21437df14a.zip | |
drm/amd/display: Remove useless assignments
[WHAT & HOW]
"split_pipe" are assigned to test_pipe and then immediately are updated
to other values. The same also applies to "status" as well.
Similarly, "id", "dwb" and "unused_dpps" are assigned but the functions
immediately return, and thus they have no effects.
As a results, the assignments removed.
This fixes 5 UNUSED_VALUE issues reported by Coverity.
Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c')
0 files changed, 0 insertions, 0 deletions
