[PATCH 1/1] dRM/exynos: exynos_drm_ipp: Remove redundant break statement

Inki Dae inki.dae at samsung.com
Thu Jun 13 04:51:45 PDT 2013


Applied.

Thanks,
Inki Dae


2013/6/11 Sachin Kamat <sachin.kamat at linaro.org>

> '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 at linaro.org>
> ---
>  drivers/gpu/drm/exynos/exynos_drm_ipp.c |    1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/exynos/exynos_drm_ipp.c
> b/drivers/gpu/drm/exynos/exynos_drm_ipp.c
> index 01cb9a0..b1ef8e7 100644
> --- a/drivers/gpu/drm/exynos/exynos_drm_ipp.c
> +++ b/drivers/gpu/drm/exynos/exynos_drm_ipp.c
> @@ -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;
> --
> 1.7.9.5
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130613/68b0094e/attachment.html>


More information about the dri-devel mailing list