Re: [PATCH] cpufreq: speedstep: remove unneeded semicolon

From: Rafael J. Wysocki
Date: Wed Oct 28 2020 - 18:24:36 EST


On Tue, Oct 27, 2020 at 8:00 PM <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);
> --

Applied as 5.10-rc material, thanks!