diff options
| author | Mario Limonciello <[email protected]> | 2025-02-28 19:32:57 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-03-10 17:35:49 +0000 |
| commit | 272385483e0b1cadfeae03548fb8798d178f13d9 (patch) | |
| tree | 69b4b651d78df93cc16710b8300b7a626c73ad6a /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | |
| parent | drm/amd/display: Add scoped mutexes for amdgpu_dm_dhcp (diff) | |
| download | kernel-272385483e0b1cadfeae03548fb8798d178f13d9.tar.gz kernel-272385483e0b1cadfeae03548fb8798d178f13d9.zip | |
drm/amd/display: Drop unnecessary ret variable for enable_assr()
[Why]
enable_assr() has a res variable that only is changed in one block with
no cleanup necessary.
[How]
Remove variable and return early from failure cases.
Reviewed-by: Alex Hung <[email protected]>
Signed-off-by: Mario Limonciello <[email protected]>
Signed-off-by: Tom Chung <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
0 files changed, 0 insertions, 0 deletions
