diff options
author | Masahiro Yamada <[email protected]> | 2016-09-13 03:35:20 +0900 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2016-10-06 11:53:35 -0700 |
commit | 57b9f569447c4ab7b2a7e34a13e468311db4cd64 (patch) | |
tree | e6719af0a19a7958327ec1f25df79c8bfee87116 /tools/perf/util/trace-event-scripting.c | |
parent | c2cbc38b9715bd8318062e600668fc30e5a3fbfa (diff) |
drm/vc4: cleanup with list_first_entry_or_null()
The combo of list_empty() check and return list_first_entry()
can be replaced with list_first_entry_or_null().
Signed-off-by: Masahiro Yamada <[email protected]>
Signed-off-by: Eric Anholt <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions