diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-05-30 09:23:58 +0100 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-05-31 09:00:49 +0100 |
| commit | f2d1315895ca5a4747abd3f6ece66fc25613405a (patch) | |
| tree | e53270eded367facd97e4f04673b1b84672421d2 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 47bc28d7ee6d8378ba4451c43885cb3241302243 (diff) | |
| download | linux-f2d1315895ca5a4747abd3f6ece66fc25613405a.tar.gz linux-f2d1315895ca5a4747abd3f6ece66fc25613405a.zip | |
drm/i915: Drop check for non-NULL entry in llist_for_each_entry_safe
Since the next entry is an offset from a pointer, it can not be NULL.
For simplicity, drop the extra conditional before calling cond_resched()
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190530082358.13663-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
