drm: Remove useless else block

2015-01-10 Thread Dan Carpenter
Hi Dave, There is a bad merge in drm-next and it causes a static checker warning. The patch 2ca651d15aff: "drm: Remove useless else block" from Dec 10, 2014, leads to the following static checker warning: drivers/gpu/drm/drm_crtc.c:4380 drm_property_change_valid_get()

[PATCH 6/7] drm: Remove useless else block

2014-12-10 Thread Thierry Reding
From: Thierry Reding All prior conditional blocks return from the function, so the else block can be at the top level of the function. Signed-off-by: Thierry Reding --- drivers/gpu/drm/drm_crtc.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm