diff options
| author | Andrew Jiang <[email protected]> | 2017-09-01 16:03:16 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-09-26 18:17:32 -0400 |
| commit | aeff7ab11e2516bfa41c77b9ea57bc2c07bb3b62 (patch) | |
| tree | a16bc903ad8405fbff539face1475cc57fc8583c /tools/perf/scripts/python | |
| parent | 603767f903bf5bf301728b197dcde63cf880fe2e (diff) | |
drm/amd/display: Fix context alloc failed logging
Since there was no return statement in the fail block immediately
preceding the context_alloc_fail block, any failure within the
function caused a context alloc failed error message to be printed.
Since the context_alloc_fail block is only used once, move it to
where the goto is directly and accompany it with a return statement.
Signed-off-by: Andrew Jiang <[email protected]>
Reviewed-by: Tony Cheng <[email protected]>
Acked-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions