linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] memstick: jmb38x_ms: remove unneeded semicolon
@ 2020-10-31 14:25 trix
  2020-11-05 12:58 ` Ulf Hansson
  0 siblings, 1 reply; 2+ messages in thread
From: trix @ 2020-10-31 14:25 UTC (permalink / raw)
  To: maximlevitsky, oakad, ulf.hansson, kvalo, jgg, leon, chao,
	gustavoars, colin.king, vaibhavgupta40, keescook
  Cc: linux-mmc, linux-kernel, Tom Rix

From: Tom Rix <trix@redhat.com>

A semicolon is not needed after a switch statement.

Signed-off-by: Tom Rix <trix@redhat.com>
---
 drivers/memstick/host/jmb38x_ms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/memstick/host/jmb38x_ms.c b/drivers/memstick/host/jmb38x_ms.c
index e83c3ada9389..f9a93b0565e1 100644
--- a/drivers/memstick/host/jmb38x_ms.c
+++ b/drivers/memstick/host/jmb38x_ms.c
@@ -748,7 +748,7 @@ static int jmb38x_ms_set_param(struct memstick_host *msh,
 				      clock_delay);
 		host->ifmode = value;
 		break;
-	};
+	}
 	return 0;
 }
 
-- 
2.18.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] memstick: jmb38x_ms: remove unneeded semicolon
  2020-10-31 14:25 [PATCH] memstick: jmb38x_ms: remove unneeded semicolon trix
@ 2020-11-05 12:58 ` Ulf Hansson
  0 siblings, 0 replies; 2+ messages in thread
From: Ulf Hansson @ 2020-11-05 12:58 UTC (permalink / raw)
  To: trix
  Cc: Maxim Levitsky, Alex Dubov, Kalle Valo, jgg, leon, chao,
	Gustavo A. R. Silva, Colin King, Vaibhav Gupta, Kees Cook,
	linux-mmc, Linux Kernel Mailing List

On Sat, 31 Oct 2020 at 15:25, <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/memstick/host/jmb38x_ms.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/memstick/host/jmb38x_ms.c b/drivers/memstick/host/jmb38x_ms.c
> index e83c3ada9389..f9a93b0565e1 100644
> --- a/drivers/memstick/host/jmb38x_ms.c
> +++ b/drivers/memstick/host/jmb38x_ms.c
> @@ -748,7 +748,7 @@ static int jmb38x_ms_set_param(struct memstick_host *msh,
>                                       clock_delay);
>                 host->ifmode = value;
>                 break;
> -       };
> +       }
>         return 0;
>  }
>
> --
> 2.18.1
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-05 12:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-31 14:25 [PATCH] memstick: jmb38x_ms: remove unneeded semicolon trix
2020-11-05 12:58 ` Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).