Re: [PATCH] drm/amd: Change `jpeg_v4_0_5_start_dpg_mode()` to void

2024-02-16 Thread Alex Deucher
On Thu, Feb 15, 2024 at 4:58 PM Mario Limonciello wrote: > > 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 > Addresses-Coverity-ID: 1583635 ("Code

[PATCH] drm/amd: Change `jpeg_v4_0_5_start_dpg_mode()` to void

2024-02-15 Thread Mario Limonciello
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 Addresses-Coverity-ID: 1583635 ("Code maintainability issues") Fixes: 0a119d53f74a ("drm/amdgpu/jpeg: add support for