[PATCH 2/7] drm/atomic: Early-exit from CRTC dup state

2015-05-07 Thread Daniel Vetter
On Mon, Apr 20, 2015 at 07:22:51PM +0100, Daniel Stone wrote: > Just change an if (success) branch to if (fail) return; > > Signed-off-by: Daniel Stone I dropped this one since the code already changed a bit. -Daniel > --- > drivers/gpu/drm/drm_atomic_helper.c | 13 +++-- > 1 file chan

[PATCH 2/7] drm/atomic: Early-exit from CRTC dup state

2015-04-20 Thread Daniel Stone
Just change an if (success) branch to if (fail) return; Signed-off-by: Daniel Stone --- drivers/gpu/drm/drm_atomic_helper.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/drivers/gpu/drm/drm_atomic_helper.c index d536817..