]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Remove obsolete code from intelfb_alloc()
authorLukas Wunner <lukas@wunner.de>
Sat, 19 Dec 2015 14:40:39 +0000 (15:40 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 21 Dec 2015 16:03:25 +0000 (17:03 +0100)
commit4601b933c9dcb6802e3289d62bcdb52ea32425d6
treeba356934e7ec84eed63093c982574e5ce175aaf8
parentb29ec92c4f5e6d45d8bae8194e664427a01c6687
drm/i915: Remove obsolete code from intelfb_alloc()

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@ffwll.ch>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Link: http://patchwork.freedesktop.org/patch/msgid/56756c41.c306c20a.d0602.1830SMTPIN_ADDED_MISSING@mx.google.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_fbdev.c