Message ID | 20201027185934.1586984-1-trix@redhat.com (mailing list archive) |
---|---|
State | Mainlined, archived |
Headers | show |
Series | cpufreq: speedstep: remove unneeded semicolon | expand |
On 27-10-20, 11:59, trix@redhat.com wrote: > From: Tom Rix <trix@redhat.com> > > A semicolon is not needed after a switch statement. > > Signed-off-by: Tom Rix <trix@redhat.com> > --- > drivers/cpufreq/speedstep-lib.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/cpufreq/speedstep-lib.c b/drivers/cpufreq/speedstep-lib.c > index a13a2d1e444e..0b66df4ed513 100644 > --- a/drivers/cpufreq/speedstep-lib.c > +++ b/drivers/cpufreq/speedstep-lib.c > @@ -240,7 +240,7 @@ unsigned int speedstep_get_frequency(enum speedstep_processor processor) > return pentium3_get_frequency(processor); > default: > return 0; > - }; > + } > return 0; > } > EXPORT_SYMBOL_GPL(speedstep_get_frequency); Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
On Tue, Oct 27, 2020 at 8:00 PM <trix@redhat.com> wrote: > > From: Tom Rix <trix@redhat.com> > > A semicolon is not needed after a switch statement. > > Signed-off-by: Tom Rix <trix@redhat.com> > --- > drivers/cpufreq/speedstep-lib.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/cpufreq/speedstep-lib.c b/drivers/cpufreq/speedstep-lib.c > index a13a2d1e444e..0b66df4ed513 100644 > --- a/drivers/cpufreq/speedstep-lib.c > +++ b/drivers/cpufreq/speedstep-lib.c > @@ -240,7 +240,7 @@ unsigned int speedstep_get_frequency(enum speedstep_processor processor) > return pentium3_get_frequency(processor); > default: > return 0; > - }; > + } > return 0; > } > EXPORT_SYMBOL_GPL(speedstep_get_frequency); > -- Applied as 5.10-rc material, thanks!
diff --git a/drivers/cpufreq/speedstep-lib.c b/drivers/cpufreq/speedstep-lib.c index a13a2d1e444e..0b66df4ed513 100644 --- a/drivers/cpufreq/speedstep-lib.c +++ b/drivers/cpufreq/speedstep-lib.c @@ -240,7 +240,7 @@ unsigned int speedstep_get_frequency(enum speedstep_processor processor) return pentium3_get_frequency(processor); default: return 0; - }; + } return 0; } EXPORT_SYMBOL_GPL(speedstep_get_frequency);