]> 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)
commit8d8fa43ce09d507a1613f589c2511e7c5c749f55
tree16eb0c674826dab22faef4830c163dc4383c9d6e
parent0a910ef126c8a6e18c9d97174b98913cd81cfb4f
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: f16e5bc02c2f ("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