Re: [PATCH] Remove unnecessary braces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday, October 16, 2013 10:02:45 AM Viresh Kumar wrote:
> On 15/10/2013, Evgeny Kapaev <orener300@xxxxxxxxx> wrote:
> > As per coding style, braces {} are not necessary for single statement block
> >
> > Signed-off-by: Evgeny Kapaev <orener300@xxxxxxxxx>

Queued up for 3.13, thanks!

> > ---
> >  drivers/cpufreq/speedstep-centrino.c | 3 +--
> >  1 file changed, 1 insertion(+), 2 deletions(-)
> >
> > diff --git a/drivers/cpufreq/speedstep-centrino.c
> > b/drivers/cpufreq/speedstep-centrino.c
> > index f897d51..98797a6 100644
> > --- a/drivers/cpufreq/speedstep-centrino.c
> > +++ b/drivers/cpufreq/speedstep-centrino.c
> > @@ -373,9 +373,8 @@ static int centrino_cpu_init(struct cpufreq_policy
> > *policy)
> >  		return -ENODEV;
> >  	}
> >
> > -	if (centrino_cpu_init_table(policy)) {
> > +	if (centrino_cpu_init_table(policy))
> >  		return -ENODEV;
> > -	}
> >
> >  	/* Check to see if Enhanced SpeedStep is enabled, and try to
> >  	   enable it if not. */
> 
> Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pm" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
To unsubscribe from this list: send the line "unsubscribe cpufreq" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Devel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Forum]     [Linux SCSI]

  Powered by Linux