Re: [PATCH] cpufreq: speedstep: remove unneeded semicolon
From: Viresh Kumar
Date: Wed Oct 28 2020 - 18:07:42 EST
On 27-10-20, 11:59, trix@xxxxxxxxxx wrote:
> From: Tom Rix <trix@xxxxxxxxxx>
>
> A semicolon is not needed after a switch statement.
>
> Signed-off-by: Tom Rix <trix@xxxxxxxxxx>
> ---
> 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@xxxxxxxxxx>
--
viresh