drm/i915/execlists: Reduce list_for_each_safe+list_safe_reset_next
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Jan 2018 15:12:27 +0000 (15:12 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 Jan 2018 12:09:46 +0000 (12:09 +0000)
commit2221c5b7ddfae1ed1ca8b21a9092d0878281293a
treed854d695df8e7f695e70ebde3591ce9b5bcde7c8
parentce01b173773a09e2b5d3007c26d11cbd7737c3fe
drm/i915/execlists: Reduce list_for_each_safe+list_safe_reset_next

After staring at the list_for_each_safe macros for a bit, our current
invocation of list_safe_reset_next in execlists_schedule() simply
reduces to list_for_each.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: MichaƂ Winiarski <michal.winiarski@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180102151235.3949-11-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_lrc.c