diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-11-12 11:59:47 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-11-15 00:40:33 +0100 |
commit | baf698b0496e93f2737b9046d3b1892c55133b0d (patch) | |
tree | 96605b931839b37fcd34284f2ae39bfa04702088 /arch | |
parent | Merge tag 'drm/tegra/for-3.19-rc1' of git://people.freedesktop.org/~tagr/linu... (diff) | |
download | linux-baf698b0496e93f2737b9046d3b1892c55133b0d.tar.xz 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 'arch')
0 files changed, 0 insertions, 0 deletions