commit | baf698b0496e93f2737b9046d3b1892c55133b0d | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Nov 12 11:59:47 2014 +0100 |
committer | Dave Airlie <airlied@redhat.com> | Sat Nov 15 09:40:33 2014 +1000 |
tree | 96605b931839b37fcd34284f2ae39bfa04702088 | |
parent | b0654103f55ebae8f72700b37f152942f34806cc [diff] |
drm: Simplify return value handling in drm_crtc.c While looking through drm_crtc.c to double-check make locking changes I've noticed that there's a few other places that would now benefit from simplified return value handling. So let's flatten the control flow and replace and always 0 ret with 0 where possible. Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Reviewed-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Dave Airlie <airlied@redhat.com>