linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] memstick: tifm: remove unneeded semicolon
@ 2020-10-31 14:27 trix
  2020-11-05 12:59 ` Ulf Hansson
  0 siblings, 1 reply; 2+ messages in thread
From: trix @ 2020-10-31 14:27 UTC (permalink / raw)
  To: oakad, maximlevitsky, ulf.hansson; +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/tifm_ms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/memstick/host/tifm_ms.c b/drivers/memstick/host/tifm_ms.c
index 786e46798da2..57145374f6ac 100644
--- a/drivers/memstick/host/tifm_ms.c
+++ b/drivers/memstick/host/tifm_ms.c
@@ -528,7 +528,7 @@ static int tifm_ms_set_param(struct memstick_host *msh,
 		} else
 			return -EINVAL;
 		break;
-	};
+	}
 
 	return 0;
 }
-- 
2.18.1


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

* Re: [PATCH] memstick: tifm: remove unneeded semicolon
  2020-10-31 14:27 [PATCH] memstick: tifm: remove unneeded semicolon trix
@ 2020-11-05 12:59 ` Ulf Hansson
  0 siblings, 0 replies; 2+ messages in thread
From: Ulf Hansson @ 2020-11-05 12:59 UTC (permalink / raw)
  To: trix; +Cc: Alex Dubov, Maxim Levitsky, linux-mmc, Linux Kernel Mailing List

On Sat, 31 Oct 2020 at 15:28, <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/tifm_ms.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/memstick/host/tifm_ms.c b/drivers/memstick/host/tifm_ms.c
> index 786e46798da2..57145374f6ac 100644
> --- a/drivers/memstick/host/tifm_ms.c
> +++ b/drivers/memstick/host/tifm_ms.c
> @@ -528,7 +528,7 @@ static int tifm_ms_set_param(struct memstick_host *msh,
>                 } else
>                         return -EINVAL;
>                 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:27 [PATCH] memstick: tifm: remove unneeded semicolon trix
2020-11-05 12:59 ` 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).