drm/atomic-helpers: Clear up cleanup_done a bit
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 15 Jun 2016 10:24:26 +0000 (12:24 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 15 Jun 2016 15:25:36 +0000 (17:25 +0200)
commit7deef7f1ae5d0bf98c1ec9eb4bc87b29478c2adb
tree5c709e921a4e1eb76a684a22ef274e547d16ae0f
parent723c3e553051bcb82eb8d8962c04171040068e83
drm/atomic-helpers: Clear up cleanup_done a bit

It's not obvious at first sight that this is a fastpath, make that
clearer with a goto. Fallout from a discussion with Liviu on irc.

v2: Drop bogus hunks that crept in.

v3: Make it compile.

Cc: Liviu.Dudau@arm.com
Acked-by: Liviu.Dudau@arm.com
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1465986266-2831-1-git-send-email-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_atomic_helper.c