diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2025-02-28 13:32:57 -0600 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-03-10 13:35:49 -0400 |
commit | 272385483e0b1cadfeae03548fb8798d178f13d9 (patch) | |
tree | 69b4b651d78df93cc16710b8300b7a626c73ad6a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6b675ab8efbf2bcee25be29e865455c56e246401 (diff) |
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 <alex.hung@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions