]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/vcn: Return void from the stop_dbg_mode
authorKhalid Masum <khalid.masum.92@gmail.com>
Mon, 15 Aug 2022 18:34:25 +0000 (00:34 +0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Aug 2022 22:10:10 +0000 (18:10 -0400)
commit9a3cd4f2792bf304f3f9fb2f1c6c68552aeeaa1c
tree16eb0c674826dab22faef4830c163dc4383c9d6e
parenta94bd7a060d3f6f75c7fe7a20743c1307d1fc686
drm/amdgpu/vcn: Return void from the stop_dbg_mode

There is no point in returning an int here. It only returns 0 which
the caller never uses. Therefore return void and remove the unnecessary
assignment.

Addresses-Coverity: 1504988 ("Unused value")
Fixes: f9616044bd9a ("drm/amdgpu: add VCN4 ip block support")
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Suggested-by: Ruijing Dong <ruijing.dong@amd.com>
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Khalid Masum <khalid.masum.92@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c