drm/exynos: exynos_drm_ipp: Remove redundant break statement
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 11 Jun 2013 06:56:51 +0000 (12:26 +0530)
committerInki Dae <daeinki@gmail.com>
Fri, 28 Jun 2013 12:13:56 +0000 (21:13 +0900)
'break' after goto statement is redundant. Silences the following
message:
drivers/gpu/drm/exynos/exynos_drm_ipp.c:1067 exynos_drm_ipp_check_valid()
info: ignoring unreachable code.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_ipp.c

index 01cb9a03aac04eb50c4f877bc5060987264f6ac5..b1ef8e7ff9c91fff7ecc11fc21cf25f7f20fbb3b 100644 (file)
@@ -1064,7 +1064,6 @@ static bool exynos_drm_ipp_check_valid(struct device *dev,
        default:
                DRM_ERROR("invalid state.\n");
                goto err_status;
-               break;
        }
 
        return true;