aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2024-02-15 15:48:47 -0600
committerAlex Deucher <alexander.deucher@amd.com>2024-02-16 15:44:30 -0500
commit2bb2ad58f6b711edb94fa43e5ac65323532fde95 (patch)
tree90c9a45d169d56e0a492b92ce1b2124d02c9aee6 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
parentf6aed043ee5d75b3d1bfc452b1a9584b63c8f76b (diff)
drm/amd: Change `jpeg_v4_0_5_start_dpg_mode()` to void
jpeg_v4_0_5_start_dpg_mode() always returns 0 and the return value doesn't get used in the caller jpeg_v4_0_5_start(). Modify the function to be void. Reported-by: coverity-bot <keescook+coverity-bot@chromium.org> Addresses-Coverity-ID: 1583635 ("Code maintainability issues") Fixes: 0a119d53f74a ("drm/amdgpu/jpeg: add support for jpeg DPG mode") Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions