diff options
author | Ma Jun <Jun.Ma2@amd.com> | 2024-04-22 14:47:52 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-26 17:22:39 -0400 |
commit | 60c448439f3b5db9431e13f7f361b4074d0e8594 (patch) | |
tree | 799a16ff6c670ecc11b36e54f140d1b448cba4e9 /drivers/gpu/drm/amd/amdgpu/aldebaran.c | |
parent | f88da7fbf665ffdcbf5b439922a231bec6c0cf01 (diff) |
drm/amdgpu: Fix uninitialized variable warnings
return 0 to avoid returning an uninitialized variable r
Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/aldebaran.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/aldebaran.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/aldebaran.c b/drivers/gpu/drm/amd/amdgpu/aldebaran.c index 576067d66bb9..d0a8da67dc2a 100644 --- a/drivers/gpu/drm/amd/amdgpu/aldebaran.c +++ b/drivers/gpu/drm/amd/amdgpu/aldebaran.c @@ -97,7 +97,7 @@ static int aldebaran_mode2_suspend_ip(struct amdgpu_device *adev) adev->ip_blocks[i].status.hw = false; } - return r; + return 0; } static int |