diff mbox series

memstick: tifm: remove unneeded semicolon

Message ID 20201031142756.2140029-1-trix@redhat.com
State New
Headers show
Series memstick: tifm: remove unneeded semicolon | expand

Commit Message

Tom Rix Oct. 31, 2020, 2:27 p.m. UTC
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(-)

Comments

Ulf Hansson Nov. 5, 2020, 12:59 p.m. UTC | #1
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
>
diff mbox series

Patch

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;
 }