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)
commit385bf5a856c196d5997ce4111a23df7e1b679c17
tree16eb0c674826dab22faef4830c163dc4383c9d6e
parentbf7f7efbe051a59e9d0710cd26ea05f7ebc411a2
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: 8da1170a16e4 ("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