lkml.org 
[lkml]   [2020]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] mmc: davinci: remove unneeded semicolon
On Sat, 31 Oct 2020 at 16:27, <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>

Applied for next, thanks!

Kind regards
Uffe


> ---
> drivers/mmc/host/davinci_mmc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/davinci_mmc.c b/drivers/mmc/host/davinci_mmc.c
> index 90cd179625fc..2a757c88f9d2 100644
> --- a/drivers/mmc/host/davinci_mmc.c
> +++ b/drivers/mmc/host/davinci_mmc.c
> @@ -290,7 +290,7 @@ static void mmc_davinci_start_command(struct mmc_davinci_host *host,
> default:
> s = ", (R? response)";
> break;
> - }; s; }));
> + } s; }));
> host->cmd = cmd;
>
> switch (mmc_resp_type(cmd)) {
> --
> 2.18.1
>

\
 
 \ /
  Last update: 2020-11-05 14:00    [W:0.136 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site