Re: [PATCH 2/6] PM / OPP: restructure _of_init_opp_table_v2()

From: Stephen Boyd
Date: Tue Aug 11 2015 - 02:09:34 EST


On 08/11, Viresh Kumar wrote:
> On 10-08-15, 17:31, Stephen Boyd wrote:
> > I am not insisting anything. But another patch to get rid of the
> > goto sounds fine.
>
> The separate patch to kill goto.
>
> ---------------------8<-------------------------
>
> Message-Id: <9f9b9ea6ea3685d5f71c132e7efb18917253961f.1439260355.git.viresh.kumar@xxxxxxxxxx>
> From: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> Date: Tue, 11 Aug 2015 08:01:01 +0530
> Subject: [PATCH] PM / OPP: Remove unnecessary goto statements
>
> The code simply returns after jumping to the out label and doesn't free
> any resources, etc.
>
> Kill the unnecessary goto statements.
>
> Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>

Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>


--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/