[Intel-gfx] [PATCH] drm/i915: Drop non-NULL llist_for_each_entry_safe check for

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Fri May 31 07:53:54 UTC 2019


Quoting Chris Wilson (2019-05-30 11:23:58)
> 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 at oracle.com>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas


More information about the Intel-gfx mailing list