[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACPK8XeCJpbh+F4EzfmGJRt2JJHPjKGK2dyqF9BV_NUFYgc=nw@mail.gmail.com>
Date: Sun, 1 Nov 2020 23:51:23 +0000
From: Joel Stanley <joel@....id.au>
To: trix@...hat.com
Cc: Andrew Jeffery <andrew@...id.au>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
linux-aspeed <linux-aspeed@...ts.ozlabs.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] soc: aspeed: remove unneeded semicolon
On Sun, 1 Nov 2020 at 15:06, <trix@...hat.com> wrote:
>
> From: Tom Rix <trix@...hat.com>
>
> A semicolon is not needed after a switch statement.
Thanks Tom. I will add this to the aspeed soc tree.
>
> Signed-off-by: Tom Rix <trix@...hat.com>
> ---
> drivers/soc/aspeed/aspeed-socinfo.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/soc/aspeed/aspeed-socinfo.c b/drivers/soc/aspeed/aspeed-socinfo.c
> index 26db42ef6aae..20a1d4aeb051 100644
> --- a/drivers/soc/aspeed/aspeed-socinfo.c
> +++ b/drivers/soc/aspeed/aspeed-socinfo.c
> @@ -51,7 +51,7 @@ static const char *siliconid_to_rev(u32 siliconid)
> return "A1";
> case 3:
> return "A2";
> - };
> + }
>
> return "??";
> }
> --
> 2.18.1
>
Powered by blists - more mailing lists