aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2016-07-26 12:01:51 +0100
committerChris Wilson <[email protected]>2016-07-26 13:00:58 +0100
commit2a1d775201081c400d7e60ceb8e5ac887d11b1f7 (patch)
tree5bd3ef0d28b31918b4325c4f74459855ba2f2095 /tools/perf/scripts/python/netdev-times.py
parent4a50d20e105a4a8e46a641e4779e9431e0aabc84 (diff)
drm/i915: Prefer list_first_entry_or_null
list_first_entry_or_null() can generate better code than using if (!list_empty()) {ptr = list_first_entry()) ..., so put it to use. Signed-off-by: Chris Wilson <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Joonas Lahtinen <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions