Skip to content
Snippets Groups Projects
Commit 385bf5a8 authored by Khalid Masum's avatar Khalid Masum Committed by Alex Deucher
Browse files

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: 8da1170a ("drm/amdgpu: add VCN4 ip block support")
Reviewed-by: default avatarRuijing Dong <ruijing.dong@amd.com>
Suggested-by: default avatarRuijing Dong <ruijing.dong@amd.com>
Suggested-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarKhalid Masum <khalid.masum.92@gmail.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent bf7f7efb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment