Skip to contentSkip to conversation

memstick: tifm: remove unneeded semicolon

PATCH In review [email protected] 2 participants 2 messages Oct 31, 2020 – Nov 5, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 memstick: tifm: remove unneeded semicolon

From: Tom Rix <[email protected]>

A semicolon is not needed after a switch statement.

---
 drivers/memstick/host/tifm_ms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/memstick/host/tifm_ms.c +1 -1
index 786e46798da2..57145374f6ac 100644
@@ -528,7 +528,7 @@ static int tifm_ms_set_param(struct memstick_host *msh,
 		} else
 			return -EINVAL;
 		break;
-	};
+	}
 
 	return 0;
 }
Signature · 1 line
2.18.1
#1 lore raw
Quoted 6 lines · On Sat, 31 Oct 2020 at 15:28, <[email protected]> wrote:

From: Tom Rix <[email protected]>

A semicolon is not needed after a switch statement.

Applied for next, thanks!

Kind regards
Uffe

Quoted 20 lines
---
 drivers/memstick/host/tifm_ms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/memstick/host/tifm_ms.c +1 -2
index 786e46798da2..57145374f6ac 100644
@@ -528,7 +528,7 @@ static int tifm_ms_set_param(struct memstick_host *msh,
                } else
                        return -EINVAL;
                break;
-       };
+       }
 
        return 0;
 }
--

2.18.1