[PATCH Resend 7/7] clk: max77686: Remove redundant break

jonghwa3.lee at samsung.com jonghwa3.lee at samsung.com
Thu Dec 19 04:48:54 EST 2013


On 2013년 12월 19일 17:54, Sachin Kamat wrote:

> 'break' after 'goto' is redundant. Remove it.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>
> Cc: Jonghwa Lee <jonghwa3.lee at samsung.com>
> ---
>  drivers/clk/clk-max77686.c |    2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/clk/clk-max77686.c b/drivers/clk/clk-max77686.c
> index 9f57bc37cd60..b4a1a9719ab0 100644
> --- a/drivers/clk/clk-max77686.c
> +++ b/drivers/clk/clk-max77686.c
> @@ -157,11 +157,9 @@ static int max77686_clk_probe(struct platform_device *pdev)
>  			case MAX77686_CLK_AP:
>  				dev_err(&pdev->dev, "Fail to register CLK_AP\n");
>  				goto err_clk_ap;
> -				break;
>  			case MAX77686_CLK_CP:
>  				dev_err(&pdev->dev, "Fail to register CLK_CP\n");
>  				goto err_clk_cp;
> -				break;
>  			case MAX77686_CLK_PMIC:
>  				dev_err(&pdev->dev, "Fail to register CLK_PMIC\n");
>  				goto err_clk_pmic;


Acked-by: Jonghwa Lee <jonghwa3.lee at samsung.com>


Thanks,
Jonghwa



More information about the linux-arm-kernel mailing list