i965/drm: Use list_for_each_entry_safe in a couple of cases.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 5 Apr 2017 21:10:36 +0000 (14:10 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 10 Apr 2017 21:33:12 +0000 (14:33 -0700)
commit538fa87f40709f2cafb561056ea3ca5c46f8c85e
treeb7239f66455e03ff60fe9a87ecaffc88bdaa0854
parent10929da5fbe99bd9fb3138917d554f561a2ecd21
i965/drm: Use list_for_each_entry_safe in a couple of cases.

Suggested by Chris Wilson.  A tiny bit simpler.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
src/mesa/drivers/dri/i965/brw_bufmgr.c