aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2015-09-08 15:03:44 -0700
committerLinus Torvalds <[email protected]>2015-09-08 15:35:28 -0700
commit26f5d7609f03ad8d6dc552458e4e371a62416b37 (patch)
tree33868d7b635a40367d0848dc4b049a8485d1572d /tools/perf/scripts/python/stackcollapse.py
parent21cd3a604797c2774676926a95a3d17d4cd5cbb3 (diff)
list_lru: don't call list_lru_from_kmem if the list_head is empty
If the list_head is empty then we'll have called list_lru_from_kmem for nothing. Move that call inside of the list_empty if block. Signed-off-by: Jeff Layton <[email protected]> Reviewed-by: Vladimir Davydov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions