diff options
| author | Liviu Dudau <[email protected]> | 2017-11-01 14:44:58 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2017-11-02 10:44:08 +0100 |
| commit | 7fb50b957be10e631f649eca8bd66a0b89795149 (patch) | |
| tree | e4aba7c74aec16b6d7baa42d4d218fd5edd73710 /tools/perf/scripts/python | |
| parent | 304a4f6accac4add4967fc062069fc8421c46aae (diff) | |
drm/drm_vma_manager.c: Remove useless goto statement
Commit db2395eccf08i ("drm: Convert drm_vma_manager to embedded
interval-tree in drm_mm") removed a line in drm_vma_offset_add() function that
makes checking the result of calling drm_mm_insert_node() and the goto
call redundant. Rework the function (as suggested by Chris Wilson) to
eliminate the need for the goto and associated label.
v2: rewrite function to remove all goto statements.
Fixes: db2395eccf08i ("drm: Convert drm_vma_manager to embedded interval-tree in drm_mm")
Cc: Chris Wilson <[email protected]>
Signed-off-by: Liviu Dudau <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions