summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-11-12 11:59:47 +0100
committerDave Airlie <airlied@redhat.com>2014-11-15 09:40:33 +1000
commitbaf698b0496e93f2737b9046d3b1892c55133b0d (patch)
tree96605b931839b37fcd34284f2ae39bfa04702088 /include
parentb0654103f55ebae8f72700b37f152942f34806cc (diff)
downloadlinux-baf698b0496e93f2737b9046d3b1892c55133b0d.tar.gz
linux-baf698b0496e93f2737b9046d3b1892c55133b0d.tar.bz2
linux-baf698b0496e93f2737b9046d3b1892c55133b0d.zip
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions