[Intel-gfx] [PATCH] drm/i915: Remove obsolete code from intelfb_alloc()

Chris Wilson chris at chris-wilson.co.uk
Sat Dec 19 07:02:49 PST 2015


On Sat, Dec 19, 2015 at 03:40:39PM +0100, Lukas Wunner wrote:
> Clean up after 0c82312f3f15 ("drm/i915: Pin the ifbdev for the
> info->system_base GGTT mmapping"):
> 
> At each of the remaining "goto out" in intelfb_alloc(), fb can only be
> either an ERR_PTR or NULL, so the call to drm_framebuffer_unreference()
> is now obsolete.
> 
> Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Lukas Wunner <lukas at wunner.de>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list