aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-09-12 16:07:52 +0100
committerChris Wilson <[email protected]>2017-09-12 20:45:04 +0100
commitac70ebe873f5161e46fbd3a5ed318f7c34d0d157 (patch)
treeed34dbb89a34ab4622023bbccc0bbe31a6e21ce3 /tools/perf/scripts/python
parent4ebc65092ca3d9713d48ea43e7db5b3f07faf1bc (diff)
drm/i915: Cleanup error paths through eb_lookup_vma()
Following the simplification to a single lookup loop in commit 170fa29b14fa ("drm/i915: Simplify eb_lookup_vmas()") and commit d1b48c1e7184 ("drm/i915: Replace execbuf vma ht with an idr"), we can go one step further and reorder the error paths so that the state of the local variable obj is always known to the compiler and doesn't need the uninitialized_var markup to squelch a compiler warning. Signed-off-by: Chris Wilson <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions