drm/i915: Remove the duplicated logic between the two shrink phases
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 3 Oct 2014 09:29:51 +0000 (10:29 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 3 Oct 2014 11:52:15 +0000 (13:52 +0200)
We can use the same logic to walk the different bound/unbound lists
during shrinker (as the unbound list is a degenerate case of the bound
list), slightly compacting the code.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found